Makefile 539 Bytes
Newer Older
dbarbera's avatar
dbarbera committed
1
all: test-ada
Maxime Perrotin's avatar
Maxime Perrotin committed
2

dbarbera's avatar
dbarbera committed
3
4
test-parse:
	../../../opengeode.py og.pr system_structure.pr --check
Maxime Perrotin's avatar
Maxime Perrotin committed
5

dbarbera's avatar
dbarbera committed
6
7
test-ada:
	../../../opengeode.py --toAda og.pr system_structure.pr
Maxime Perrotin's avatar
Maxime Perrotin committed
8
9
10
	asn1.exe -Ada dataview-uniq.asn -typePrefix asn1Scc -equal
	gnatmake -c *.adb
	gcc -c test.c
11
12
	gnatbind -n og.ali
	gnatlink -o testcase test.o og.ali -lgnat
dbarbera's avatar
dbarbera committed
13
	./testcase | diff expected -
Maxime Perrotin's avatar
Maxime Perrotin committed
14
15
16
17
18

coverage:
	coverage run -p ../../../opengeode.py og.pr system_structure.pr --toAda

clean:
dbarbera's avatar
dbarbera committed
19
	rm -rf result *.adb *.ads *.pyc runSpark.sh spark.idx *.o *.ali gnat.cfg examiner bin *.wrn *.gpr testcase