Carp/run_carp_tests.sh

31 lines
877 B
Bash
Raw Normal View History

2017-09-08 13:24:57 +03:00
#!/bin/bash
2017-11-22 14:42:32 +03:00
set -e; # will make the script stop if there are any errors
2017-09-08 13:24:57 +03:00
stack build;
stack install;
2017-09-08 13:24:57 +03:00
carp ./examples/basics.carp;
carp ./examples/deleters.carp;
carp ./examples/copying.carp;
carp ./examples/polymorphic.carp;
carp ./examples/selection.carp;
carp ./examples/functor.carp;
carp ./examples/vec2.carp;
carp ./examples/array.carp;
carp ./examples/updating.carp;
carp ./examples/external_struct.carp;
carp ./examples/strings.carp -x;
2017-09-08 13:24:57 +03:00
2017-11-22 16:12:09 +03:00
carp ./test/double_math.carp -b; ./out/a.out;
carp ./test/float_math.carp -b; ./out/a.out;
carp ./test/int_math.carp -b; ./out/a.out;
carp ./test/long_math.carp -b; ./out/a.out;
2017-11-22 16:12:09 +03:00
carp ./test/safe_artihmetic.carp -b; ./out/a.out;
carp ./test/statistics.carp -b; ./out/a.out;
carp ./test/vector2.carp -b; ./out/a.out;
carp ./test/vector3.carp -b; ./out/a.out;
carp ./test/vectorn.carp -b; ./out/a.out;
carp ./examples/game.carp -b;