Commit 4f35bd80 authored by Maxime Perrotin's avatar Maxime Perrotin

Update makefile in test case

parent 631550d9
......@@ -26,8 +26,7 @@ test-qgen-gt-c:
$(TESTQGEN_GT_C) $(ROOT_MODEL)
test-ada:
$(OPENGEODE) og.pr --toAda
gprbuild -p -P og.gpr && gprbuild -p -P og_ada.gpr
make -f Makefile.og
test-c:
$(OPENGEODE) og.pr --toC
......
all:
gprbuild -p -P og.gpr # generate Ada code from the SDL model
gprbuild -p -P dataview_ada.gpr # generate Ada code from the ASN.1 model
gprbuild -p -P code/og_ada.gpr # build the Ada code
clean:
rm -rf obj code
\ No newline at end of file
project DataView_Ada is
for Languages use ("ASN1");
for Source_Dirs use (".");
for Source_Files use ("dataview-uniq.asn");
for Object_Dir use "code";
package Naming is
......
with "dataview_ada";
project og is
for Languages use ("SDL");
for Source_Dirs use (".");
......
......@@ -33,21 +33,6 @@ system og;
dcl test Some_Thing := 4;
/* CIF ENDTEXT */
/* CIF procedure (430, 404), (78, 35) */
procedure enum1
/* CIF comment (528, 404), (206, 35) */
comment 'same name as an enum item';
endprocedure;
/* CIF procedure (414, 353), (124, 35) */
procedure default_seqof
/* CIF comment (558, 353), (189, 35) */
comment 'same name as a constant';
endprocedure;
/* CIF procedure (439, 309), (70, 35) */
procedure haha
/* CIF comment (529, 309), (184, 35) */
comment 'same name as a variable';
endprocedure;
/* CIF procedure (404, 228), (73, 35) */
procedure aProc;
/* CIF TEXT (542, 127), (287, 140) */
......@@ -64,6 +49,21 @@ system og;
/* CIF return (181, 263), (35, 35) */
return ;
endprocedure;
/* CIF procedure (439, 309), (70, 35) */
procedure haha
/* CIF comment (529, 309), (184, 35) */
comment 'same name as a variable';
endprocedure;
/* CIF procedure (414, 353), (124, 35) */
procedure default_seqof
/* CIF comment (558, 353), (189, 35) */
comment 'same name as a constant';
endprocedure;
/* CIF procedure (430, 404), (78, 35) */
procedure enum1
/* CIF comment (528, 404), (206, 35) */
comment 'same name as an enum item';
endprocedure;
/* CIF START (155, 216), (70, 35) */
START;
/* CIF NEXTSTATE (155, 266), (70, 35) */
......
Markdown is supported
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