Commit c0e72f21 authored by Daniel Tuulik's avatar Daniel Tuulik
Browse files

Add QGen tests for C and Ada to all Makefiles

parent 9d04f34f
include ../shared.mk
ROOT_MODEL=system_structure.pr
ROOT_MODEL=test.pr
all: test-ada test-llvm
......@@ -11,7 +11,13 @@ test-parse:
$(OPENGEODE) test.pr --check
test-qgen-parse:
$(TESTQGEN) test.pr
$(TESTQGEN_PARSE) $(ROOT_MODEL)
test-qgen-ada:
$(TESTQGEN_ADA) $(ROOT_MODEL)
test-qgen-c:
$(TESTQGEN_C) $(ROOT_MODEL)
test-ada:
$(OPENGEODE) test.pr --toAda
......
include ../shared.mk
ROOT_MODEL=system_structure.pr
ROOT_MODEL=test.pr
all: test-ada test-llvm
......@@ -11,7 +11,13 @@ test-parse:
$(OPENGEODE) test.pr --check
test-qgen-parse:
$(TESTQGEN) test.pr
$(TESTQGEN_PARSE) $(ROOT_MODEL)
test-qgen-ada:
$(TESTQGEN_ADA) $(ROOT_MODEL)
test-qgen-c:
$(TESTQGEN_C) $(ROOT_MODEL)
test-ada:
$(OPENGEODE) test.pr --toAda
......
......@@ -11,7 +11,13 @@ test-parse:
$(OPENGEODE) orchestrator.pr system_structure.pr --check
test-qgen-parse:
$(TESTQGEN) orchestrator.pr system_structure.pr
$(TESTQGEN_PARSE) $(ROOT_MODEL)
test-qgen-ada:
$(TESTQGEN_ADA) $(ROOT_MODEL)
test-qgen-c:
$(TESTQGEN_C) $(ROOT_MODEL)
test-ada:
mono $(ASN1SCC) -c -typePrefix asn1Scc -equal dataview-uniq.asn
......
include ../shared.mk
ROOT_MODEL=system_structure.pr
ROOT_MODEL=og.pr
all: test-ada test-llvm
......@@ -11,7 +11,13 @@ test-parse:
$(OPENGEODE) og.pr --check
test-qgen-parse:
$(TESTQGEN) og.pr
$(TESTQGEN_PARSE) $(ROOT_MODEL)
test-qgen-ada:
$(TESTQGEN_ADA) $(ROOT_MODEL)
test-qgen-c:
$(TESTQGEN_C) $(ROOT_MODEL)
test-ada:
$(OPENGEODE) og.pr --toAda
......
include ../shared.mk
ROOT_MODEL=system_structure.pr
ROOT_MODEL=test.pr
all: test-ada test-llvm
......@@ -11,7 +11,13 @@ test-parse:
$(OPENGEODE) test.pr --check
test-qgen-parse:
$(TESTQGEN) test.pr
$(TESTQGEN_PARSE) $(ROOT_MODEL)
test-qgen-ada:
$(TESTQGEN_ADA) $(ROOT_MODEL)
test-qgen-c:
$(TESTQGEN_C) $(ROOT_MODEL)
test-ada:
$(OPENGEODE) test.pr --toAda
......
include ../shared.mk
ROOT_MODEL=system_structure.pr
ROOT_MODEL=og.pr
all: test-ada test-llvm
......@@ -11,7 +11,13 @@ test-parse:
$(OPENGEODE) og.pr --check
test-qgen-parse:
$(TESTQGEN) og.pr
$(TESTQGEN_PARSE) $(ROOT_MODEL)
test-qgen-ada:
$(TESTQGEN_ADA) $(ROOT_MODEL)
test-qgen-c:
$(TESTQGEN_C) $(ROOT_MODEL)
test-ada: dataview-uniq.o | test_ada.o
$(OPENGEODE) og.pr --toAda
......
......@@ -11,7 +11,13 @@ test-parse:
$(OPENGEODE) myfunction.pr system_structure.pr --check
test-qgen-parse:
$(TESTQGEN) myfunction.pr system_structure.pr
$(TESTQGEN_PARSE) $(ROOT_MODEL)
test-qgen-ada:
$(TESTQGEN_ADA) $(ROOT_MODEL)
test-qgen-c:
$(TESTQGEN_C) $(ROOT_MODEL)
test-ada: myfunction.ali dataview-uniq.o | test_ada.o
$(GNATBIND) -n myfunction.ali
......
include ../shared.mk
ROOT_MODEL=system_structure.pr
ROOT_MODEL=og.pr
all: test-ada test-llvm
......@@ -11,7 +11,13 @@ test-parse:
$(OPENGEODE) og.pr --check
test-qgen-parse:
$(TESTQGEN) og.pr
$(TESTQGEN_PARSE) $(ROOT_MODEL)
test-qgen-ada:
$(TESTQGEN_ADA) $(ROOT_MODEL)
test-qgen-c:
$(TESTQGEN_C) $(ROOT_MODEL)
test-ada:
$(OPENGEODE) og.pr --toAda
......
include ../shared.mk
ROOT_MODEL=system_structure.pr
ROOT_MODEL=og.pr
all: test-ada test-llvm
......@@ -11,7 +11,13 @@ test-parse:
$(OPENGEODE) og.pr --check
test-qgen-parse:
$(TESTQGEN) og.pr
$(TESTQGEN_PARSE) $(ROOT_MODEL)
test-qgen-ada:
$(TESTQGEN_ADA) $(ROOT_MODEL)
test-qgen-c:
$(TESTQGEN_C) $(ROOT_MODEL)
test-ada:
@echo 'Nothing to test - test-parse must retun errors'
......
......@@ -11,7 +11,13 @@ test-parse:
$(OPENGEODE) function1.pr system_structure.pr --check
test-qgen-parse:
$(TESTQGEN) function1.pr system_structure.pr
$(TESTQGEN_PARSE) $(ROOT_MODEL)
test-qgen-ada:
$(TESTQGEN_ADA) $(ROOT_MODEL)
test-qgen-c:
$(TESTQGEN_C) $(ROOT_MODEL)
test-ada: function1.ali
......
......@@ -9,7 +9,13 @@ test-parse:
$(OPENGEODE) og.pr system_structure.pr --check
test-qgen-parse:
$(TESTQGEN) og.pr system_structure.pr
$(TESTQGEN_PARSE) $(ROOT_MODEL)
test-qgen-ada:
$(TESTQGEN_ADA) $(ROOT_MODEL)
test-qgen-c:
$(TESTQGEN_C) $(ROOT_MODEL)
test-ada: og.ali dataview-uniq.o | test_ada.o
$(GNATBIND) -n og.ali
......
......@@ -11,7 +11,13 @@ test-parse:
$(OPENGEODE) challenge.pr system_structure.pr --check
test-qgen-parse:
$(TESTQGEN) challenge.pr system_structure.pr
$(TESTQGEN_PARSE) $(ROOT_MODEL)
test-qgen-ada:
$(TESTQGEN_ADA) $(ROOT_MODEL)
test-qgen-c:
$(TESTQGEN_C) $(ROOT_MODEL)
test-ada: challenge.ali dataview-uniq.o | test_ada.o
$(GNATBIND) -n challenge.ali
......
......@@ -11,7 +11,13 @@ test-parse:
$(OPENGEODE) og.pr system_structure.pr --check
test-qgen-parse:
$(TESTQGEN) og.pr system_structure.pr
$(TESTQGEN_PARSE) $(ROOT_MODEL)
test-qgen-ada:
$(TESTQGEN_ADA) $(ROOT_MODEL)
test-qgen-c:
$(TESTQGEN_C) $(ROOT_MODEL)
test-ada: og.ali dataview-uniq.o | test_ada.o
$(GNATBIND) -n og.ali
......
......@@ -11,7 +11,13 @@ test-parse:
$(OPENGEODE) trafficlight.pr system_structure.pr --check
test-qgen-parse:
$(TESTQGEN) trafficlight.pr system_structure.pr
$(TESTQGEN_PARSE) $(ROOT_MODEL)
test-qgen-ada:
$(TESTQGEN_ADA) $(ROOT_MODEL)
test-qgen-c:
$(TESTQGEN_C) $(ROOT_MODEL)
test-ada: trafficlight.ali
......
......@@ -9,7 +9,13 @@ test-parse:
$(OPENGEODE) orchestrator.pr system_structure.pr --check
test-qgen-parse:
$(TESTQGEN) orchestrator.pr system_structure.pr
$(TESTQGEN_PARSE) $(ROOT_MODEL)
test-qgen-ada:
$(TESTQGEN_ADA) $(ROOT_MODEL)
test-qgen-c:
$(TESTQGEN_C) $(ROOT_MODEL)
test-ada: orchestrator.ali dataview-uniq.o | test_ada.o
$(GNATBIND) -n orchestrator.ali
......
......@@ -11,7 +11,13 @@ test-parse:
$(OPENGEODE) fce.pr system_structure.pr --check
test-qgen-parse:
$(TESTQGEN) fce.pr system_structure.pr
$(TESTQGEN_PARSE) $(ROOT_MODEL)
test-qgen-ada:
$(TESTQGEN_ADA) $(ROOT_MODEL)
test-qgen-c:
$(TESTQGEN_C) $(ROOT_MODEL)
test-ada: fce.ali
......
......@@ -11,7 +11,13 @@ test-parse:
$(OPENGEODE) orchestrator.pr system_structure.pr --check
test-qgen-parse:
$(TESTQGEN) orchestrator.pr system_structure.pr
$(TESTQGEN_PARSE) $(ROOT_MODEL)
test-qgen-ada:
$(TESTQGEN_ADA) $(ROOT_MODEL)
test-qgen-c:
$(TESTQGEN_C) $(ROOT_MODEL)
test-ada: orchestrator.ali
......
......@@ -11,7 +11,13 @@ test-parse:
$(OPENGEODE) function0.pr system_structure.pr --check
test-qgen-parse:
$(TESTQGEN) function0.pr system_structure.pr
$(TESTQGEN_PARSE) $(ROOT_MODEL)
test-qgen-ada:
$(TESTQGEN_ADA) $(ROOT_MODEL)
test-qgen-c:
$(TESTQGEN_C) $(ROOT_MODEL)
test-ada: function0.ali
......
......@@ -11,7 +11,13 @@ test-parse:
$(OPENGEODE) myfunction.pr system_structure.pr --check
test-qgen-parse:
$(TESTQGEN) myfunction.pr system_structure.pr
$(TESTQGEN_PARSE) $(ROOT_MODEL)
test-qgen-ada:
$(TESTQGEN_ADA) $(ROOT_MODEL)
test-qgen-c:
$(TESTQGEN_C) $(ROOT_MODEL)
test-ada: myfunction.ali dataview-uniq.o | test_ada.o
$(GNATBIND) -n myfunction.ali
......
......@@ -11,7 +11,13 @@ test-parse:
$(OPENGEODE) orchestrator.pr system_structure.pr --check
test-qgen-parse:
$(TESTQGEN) orchestrator.pr system_structure.pr
$(TESTQGEN_PARSE) $(ROOT_MODEL)
test-qgen-ada:
$(TESTQGEN_ADA) $(ROOT_MODEL)
test-qgen-c:
$(TESTQGEN_C) $(ROOT_MODEL)
test-ada: orchestrator.ali
......
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