mirror of
https://codeberg.org/scip/pcp.git
synced 2025-12-18 04:10:57 +01:00
also migrate tests to meson
This commit is contained in:
@@ -106,13 +106,23 @@ callcheck () {
|
||||
cfg="$1"
|
||||
check="$2"
|
||||
|
||||
pwd=$(pwd)
|
||||
base=$(basename "$pwd")
|
||||
|
||||
if test "$base" != "test"; then
|
||||
cd tests
|
||||
fi
|
||||
|
||||
|
||||
echo "PWD: $(pwd)"
|
||||
|
||||
if test -z "$cfg"; then
|
||||
echo "Usage: $0 <config> [check]"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
if ! test -e "$cfg"; then
|
||||
echo "$cfg doesn't exist!"
|
||||
echo "$cfg doesn't exist ($(pwd))!"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
|
||||
Reference in New Issue
Block a user