Files
astronomy/generate/diffcalc

15 lines
475 B
Bash
Executable File

#!/bin/bash
echo "diffcalc: $(gcc --version | head -n 1)"
echo "diffcalc: dotnet $(dotnet --version)"
echo "diffcalc: Node.js $(node --version)"
echo "diffcalc: $(python3 --version)"
./ctest $1 diff 1.2e-15 temp/c_check.txt dotnet/csharp_test/csharp_check.txt || exit $?
./ctest $1 diff 5.6e-15 temp/{c,js}_check.txt || exit $?
./ctest $1 diff 1.2e-15 temp/{c,py}_check.txt || exit $?
./ctest $1 diff 5.6e-15 temp/{js,py}_check.txt || exit $?
echo "diffcalc: PASS"
exit 0