Files
astronomy/generate/unit_test_python
2019-06-23 17:10:58 -04:00

11 lines
182 B
Bash
Executable File

#!/bin/bash
Fail()
{
echo "ERROR($0): $1"
exit 1
}
python3 --version || Fail "Cannot print python version"
python3 test.py time || Fail "Failure reported by test.py"
exit 0