42sh/tests/wrap.sh
2026-01-24 16:36:23 +01:00

10 lines
266 B
Bash
Executable file

if [ "$BIN_PATH" = "" ];
then export BIN_PATH="$(pwd)/42sh"
fi
if [ "$COVERAGE" = "yes" ]; #coverage
then (./testsuite || true) && ../tests/functional/run-tests.sh
else ../tests/functional/run-tests.sh
fi
echo bin path: "$BIN_PATH"
echo output file: "$OUTPUT_FILE"