Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
TASTE
OpenGEODE
Commits
a1f09b37
Commit
a1f09b37
authored
Nov 09, 2014
by
Maxime Perrotin
Browse files
Interface Ada generated code with Python
parent
5d60e6f9
Changes
2
Hide whitespace changes
Inline
Side-by-side
tests/regression/shared.mk
View file @
a1f09b37
...
...
@@ -8,7 +8,7 @@ GNATLINK=gnatlink
O
=
0
clean
:
rm
-rf
*
.adb
*
.ads
*
.pyc runSpark.sh spark.idx
*
.o
*
.ali gnat.cfg
\
rm
-rf
*
.adb
*
.ads
*
.pyc runSpark.sh spark.idx
*
.o
*
.so
*
.ali gnat.cfg
\
examiner bin
*
.wrn
*
.gpr
*
.ll
*
.s dataview-uniq.c dataview-uniq.h
\
real.c xer.c ber.c acn.c asn1crt.c asn1crt.h test_ada test_llvm
\
*
.autosave
...
...
@@ -32,4 +32,4 @@ clean:
FORCE
:
.PHONY
:
clean
\ No newline at end of file
.PHONY
:
clean
tests/regression/test-debug/Makefile
View file @
a1f09b37
...
...
@@ -15,6 +15,12 @@ test-ada: orchestrator.ali dataview-uniq.o | test_ada.o
test-llvm
:
orchestrator.o
test-python
:
orchestrator.ali
$(GNATBIND)
-n
-Llibrorchestrator
orchestrator
$(GNATMAKE)
-c
b~orchestrator.adb
$(CC)
-shared
-o
liborchestrator.so b~orchestrator.o orchestrator.o taste_basictypes.o adaasn1rtl.o
-lgnat
python
-c
"from ctypes import *; test=CDLL('./liborchestrator.so'); test.librorchestratorinit()"
coverage
:
coverage run
-p
$(OPENGEODE)
orchestrator.pr system_structure.pr
--toAda
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment