crane/extra-tests/test.sh

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

27 lines
438 B
Bash
Raw Normal View History

2022-05-29 23:26:42 +03:00
#!/bin/sh
set -eu
anyFailed=0
runTest() {
local testPath="$1"
if ${testPath}; then
echo "pass: ${testPath}"
else
echo "fail: ${testPath}"
anyFailed=1
fi
}
scriptPath=$(dirname "$0")
cd "${scriptPath}"
runTest ./alt-store/test.sh
2022-05-29 23:26:42 +03:00
runTest ./dummy-does-not-depend-on-flake-source-via-path/test.sh
runTest ./dummy-does-not-depend-on-flake-source-via-self/test.sh
runTest ./fetch-cargo-git/test.sh
2022-05-29 23:26:42 +03:00
exit ${anyFailed}