Commit 738d4c8f authored by dbarbera's avatar dbarbera
Browse files

Added test14 to tests execution list

parent 8d04480c
all: test
all: test-ada test-llvm
parse:
test-parse:
../../../opengeode.py sequences.pr system_structure.pr --check
generate-ada:
@../../../opengeode.py sequences.pr system_structure.pr --check --toAda
compile-ada: generate-ada
@asn1.exe -Ada dataview-uniq.asn -typePrefix asn1Scc -equal
@gnatmake -c *.adb
run-ada: compile-ada
@gcc -c test_ada.c
@gnatbind -n sequences.ali
@gnatlink test_ada.o sequences.ali -lgnat -lm -o testcase
@./testcase | diff expected -
generate-llvm:
@../../../opengeode.py sequences.pr system_structure.pr --check --llvm
compile-llvm: generate-llvm
@llc sequences.ll
@gcc -c sequences.s
run-llvm: compile-llvm
@gcc -c test_llvm.c
@gcc sequences.o test_llvm.o -o testcase
@./testcase | diff expected -
test: run-ada run-llvm
echo "ALL OK!"
test-ada:
../../../opengeode.py sequences.pr system_structure.pr --check --toAda
asn1.exe -Ada dataview-uniq.asn -typePrefix asn1Scc -equal
gnatmake -c *.adb
gcc -c test_ada.c
gnatbind -n sequences.ali
gnatlink test_ada.o sequences.ali -lgnat -lm -o testcase
./testcase | diff expected -
test-llvm:
../../../opengeode.py sequences.pr system_structure.pr --check --llvm
llc sequences.ll
gcc -c sequences.s
gcc -c test_llvm.c
gcc sequences.o test_llvm.o -o testcase
./testcase | diff expected -
clean:
@rm -rf *.adb *.ads *.pyc runSpark.sh spark.idx *.o *.ali gnat.cfg examiner bin *.wrn *.gpr testcase
rm -rf *.adb *.ads *.pyc runSpark.sh spark.idx *.o *.ali \
gnat.cfg examiner bin *.wrn *.gpr testcase sequences.ll sequences.s
......@@ -20,6 +20,7 @@ paths = [
'regression/test11',
'regression/test12',
'regression/test13',
'regression/test14',
]
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment