Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
TASTE
OpenGEODE
Commits
3a62aadc
Commit
3a62aadc
authored
Aug 18, 2014
by
dbarbera
Browse files
Refactor makefiles
parent
c84836c5
Changes
20
Hide whitespace changes
Inline
Side-by-side
Makefile
View file @
3a62aadc
all
:
compile-all
test-parse
:
@
make
-C
tests/regression test-parse
@
make
-s
-C
tests/regression test-parse
test-ada
:
@
make
-C
tests/regression test-ada
@
make
-s
-C
tests/regression test-ada
test-llvm
:
@
make
-C
tests/regression test-llvm
@
make
-s
-C
tests/regression test-llvm
coverage
:
@
make
-C
tests/regression coverage
@
make
-s
-C
tests/regression coverage
flake8
:
@
echo
Generating flake8_report file
...
...
@@ -30,9 +30,9 @@ publish: install
python setup.py sdist upload
clean
:
make
-C
tests/regression clean
find
.
-name
'*~'
| xargs
rm
-f
find
.
-name
'*.o'
| xargs
rm
-f
@
make
-s
-C
tests/regression clean
@
find
.
-name
'*~'
| xargs
rm
-f
@
find
.
-name
'*.o'
| xargs
rm
-f
.PHONY
:
all test-parse test-ada test-llvm flake8 coverage compile-all install
\
publish clean
tests/regression/shared.mk
View file @
3a62aadc
benchmark
:
@
$(MAKE)
test-ada
>
/dev/null 2>&1
&&
([
-f
test_ada
]
||
exit
1
)
@
$(MAKE)
test-llvm
>
/dev/null 2>&1
&&
([
-f
test_llvm
]
||
exit
1
)
@
make
test-ada
>
/dev/null 2>&1
&&
([
-f
test_ada
]
||
exit
1
)
@
make
test-llvm
>
/dev/null 2>&1
&&
([
-f
test_llvm
]
||
exit
1
)
@
echo
"binary-size:"
@
echo
" test_llvm:
$$
(du -b test_llvm | cut -f1)"
@
echo
" test_ada:
$$
(du -b test_ada | cut -f1)"
.PHONY
:
benchmark
\ No newline at end of file
clean
:
@
rm
-rf
*
.adb
*
.ads
*
.pyc runSpark.sh spark.idx
*
.o
*
.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
.PHONY
:
benchmark clean
\ No newline at end of file
tests/regression/test-branchcoverage/Makefile
View file @
3a62aadc
...
...
@@ -17,8 +17,4 @@ test-ada:
coverage
:
coverage run
-p
../../../opengeode.py myfunction.pr system_structure.pr
--toAda
clean
:
rm
-rf
*
.adb
*
.ads
*
.pyc runSpark.sh spark.idx
*
.o
*
.ali gnat.cfg examiner bin
*
.wrn
*
.gpr datav
*
.? ber.c xer.c asn1crt.? acn.c real.c testcase
.PHONY
:
all edit check test-parse test-ada coverage clean
\ No newline at end of file
.PHONY
:
all edit check test-parse test-ada coverage
\ No newline at end of file
tests/regression/test-controlflow/Makefile
View file @
3a62aadc
...
...
@@ -28,9 +28,4 @@ test-llvm:
gcc controlflow.o dataview-uniq.o test_llvm.o
-o
test_llvm
-lm
./test_llvm | diff expected -
clean
:
rm
-rf
*
.adb
*
.ads
*
.pyc runSpark.sh spark.idx
*
.o
*
.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
.PHONY
:
all edit test-parse test-ada test-llvm clean
\ No newline at end of file
.PHONY
:
all edit test-parse test-ada test-llvm
\ No newline at end of file
tests/regression/test-exitnested/Makefile
View file @
3a62aadc
...
...
@@ -30,9 +30,4 @@ test-llvm:
coverage
:
coverage run
-p
../../../opengeode.py challenge.pr system_structure.pr
--toAda
clean
:
rm
-rf
*
.adb
*
.ads
*
.pyc runSpark.sh spark.idx
*
.o
*
.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
.PHONY
:
all edit test-parse test-ada test-llvm coverage clean
\ No newline at end of file
.PHONY
:
all edit test-parse test-ada test-llvm coverage
\ No newline at end of file
tests/regression/test-expressions/Makefile
View file @
3a62aadc
...
...
@@ -28,9 +28,4 @@ test-llvm:
gcc expressions.o dataview-uniq.o test_llvm.o
-o
test_llvm
-lm
./test_llvm
clean
:
rm
-rf
*
.adb
*
.ads
*
.pyc runSpark.sh spark.idx
*
.o
*
.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
.PHONY
:
all edit test-parse test-ada test-llvm clean
\ No newline at end of file
.PHONY
:
all edit test-parse test-ada test-llvm
\ No newline at end of file
tests/regression/test-operators/Makefile
View file @
3a62aadc
...
...
@@ -28,9 +28,4 @@ test-llvm:
clang operators.o dataview-uniq.o test_llvm.o
-o
test_llvm
-lm
./test_llvm | diff expected -
clean
:
rm
-rf
*
.adb
*
.ads
*
.pyc runSpark.sh spark.idx
*
.o
*
.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
.PHONY
:
all edit test-parse test-ada test-llvm clean
\ No newline at end of file
.PHONY
:
all edit test-parse test-ada test-llvm
\ No newline at end of file
tests/regression/test-substrings/Makefile
View file @
3a62aadc
...
...
@@ -31,9 +31,4 @@ test-llvm:
coverage
:
coverage run
-p
../../../opengeode.py myfunction.pr system_structure.pr
--toAda
clean
:
rm
-rf
*
.adb
*
.ads
*
.pyc runSpark.sh spark.idx
*
.o
*
.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
.PHONY
:
all edit test-parse test-ada test-llvm coverage clean
\ No newline at end of file
.PHONY
:
all edit test-parse test-ada test-llvm coverage
\ No newline at end of file
tests/regression/test1/Makefile
View file @
3a62aadc
...
...
@@ -21,8 +21,4 @@ test-llvm:
coverage
:
coverage run
-p
../../../opengeode.py og.pr system_structure.pr
--toAda
clean
:
rm
-rf
*
.adb
*
.ads
*
.pyc runSpark.sh spark.idx
*
.o
*
.ali gnat.cfg examiner
\
bin
*
.wrn
*
.gpr testcase
*
.ll
*
.s
.PHONY
:
all edit test-parse test-ada test-llvm coverage clean
\ No newline at end of file
.PHONY
:
all edit test-parse test-ada test-llvm coverage
\ No newline at end of file
tests/regression/test10/Makefile
View file @
3a62aadc
...
...
@@ -30,9 +30,4 @@ test-llvm:
coverage
:
coverage run
-p
../../../opengeode.py challenge.pr system_structure.pr
--toAda
clean
:
rm
-rf
*
.adb
*
.ads
*
.pyc runSpark.sh spark.idx
*
.o
*
.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
.PHONY
:
all edit test-parse test-ada test-llvm coverage clean
\ No newline at end of file
.PHONY
:
all edit test-parse test-ada test-llvm coverage
\ No newline at end of file
tests/regression/test11/Makefile
View file @
3a62aadc
...
...
@@ -30,9 +30,4 @@ test-llvm:
coverage
:
coverage run
-p
../../../opengeode.py og.pr system_structure.pr
--toAda
clean
:
rm
-rf
*
.adb
*
.ads
*
.pyc runSpark.sh spark.idx
*
.o
*
.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
.PHONY
:
all edit test-parse test-ada test-llvm coverage clean
\ No newline at end of file
.PHONY
:
all edit test-parse test-ada test-llvm coverage
\ No newline at end of file
tests/regression/test12/Makefile
View file @
3a62aadc
...
...
@@ -28,8 +28,4 @@ test-export:
coverage
:
coverage run
-p
../../../opengeode.py trafficlight.pr system_structure.pr
--toAda
clean
:
rm
-rf
*
.adb
*
.ads
*
.pyc runSpark.sh spark.idx
*
.o
*
.ali gnat.cfg examiner
\
bin
*
.wrn
*
.gpr testcase
*
.ll
*
.s
*
.pdf
*
.svg
*
.png
.PHONY
:
all edit test-parse test-ada test-llvm test-exports coverage clean
\ No newline at end of file
.PHONY
:
all edit test-parse test-ada test-llvm test-exports coverage
\ No newline at end of file
tests/regression/test2/Makefile
View file @
3a62aadc
...
...
@@ -21,8 +21,4 @@ test-llvm:
coverage
:
coverage run
-p
../../../opengeode.py orchestrator.pr system_structure.pr
--toAda
clean
:
rm
-rf
*
.adb
*
.ads
*
.pyc runSpark.sh spark.idx
*
.o
*
.ali gnat.cfg examiner
\
bin
*
.wrn
*
.gpr testcase
*
.ll
*
.s
.PHONY
:
all edit test-parse test-ada test-llvm coverage clean
\ No newline at end of file
.PHONY
:
all edit test-parse test-ada test-llvm coverage
\ No newline at end of file
tests/regression/test3/Makefile
View file @
3a62aadc
...
...
@@ -21,8 +21,4 @@ test-llvm:
coverage
:
coverage run
-p
../../../opengeode.py fce.pr system_structure.pr
--toAda
clean
:
rm
-rf
*
.adb
*
.ads
*
.pyc runSpark.sh spark.idx
*
.o
*
.ali gnat.cfg examiner
\
bin
*
.wrn
*
.gpr testcase
*
.ll
*
.s
.PHONY
:
all edit test-parse test-ada test-llvm coverage clean
\ No newline at end of file
.PHONY
:
all edit test-parse test-ada test-llvm coverage
\ No newline at end of file
tests/regression/test4/Makefile
View file @
3a62aadc
...
...
@@ -21,8 +21,4 @@ test-llvm:
coverage
:
coverage run
-p
../../../opengeode.py orchestrator.pr system_structure.pr
--toAda
clean
:
rm
-rf
*
.adb
*
.ads
*
.pyc runSpark.sh spark.idx
*
.o
*
.ali gnat.cfg examiner
\
bin
*
.wrn
*
.gpr testcase
*
.ll
*
.s
.PHONY
:
all edit test-parse test-ada test-llvm coverage clean
\ No newline at end of file
.PHONY
:
all edit test-parse test-ada test-llvm coverage
\ No newline at end of file
tests/regression/test5/Makefile
View file @
3a62aadc
...
...
@@ -21,8 +21,4 @@ test-llvm:
coverage
:
coverage run
-p
../../../opengeode.py function0.pr system_structure.pr
--toAda
clean
:
rm
-rf
*
.adb
*
.ads
*
.pyc runSpark.sh spark.idx
*
.o
*
.ali gnat.cfg examiner
\
bin
*
.wrn
*
.gpr testcase
*
.ll
*
.s
.PHONY
:
all edit test-parse test-ada test-llvm coverage clean
\ No newline at end of file
.PHONY
:
all edit test-parse test-ada test-llvm coverage
\ No newline at end of file
tests/regression/test6/Makefile
View file @
3a62aadc
...
...
@@ -31,9 +31,4 @@ test-llvm:
coverage
:
coverage run
-p
../../../opengeode.py myfunction.pr system_structure.pr
--toAda
clean
:
rm
-rf
*
.adb
*
.ads
*
.pyc runSpark.sh spark.idx
*
.o
*
.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
.PHONY
:
all edit test-parse test-ada test-llvm coverage clean
\ No newline at end of file
.PHONY
:
all edit test-parse test-ada test-llvm coverage
\ No newline at end of file
tests/regression/test7/Makefile
View file @
3a62aadc
...
...
@@ -21,8 +21,4 @@ test-llvm:
coverage
:
coverage run
-p
../../../opengeode.py orchestrator.pr system_structure.pr
--toAda
clean
:
rm
-rf
*
.adb
*
.ads
*
.pyc runSpark.sh spark.idx
*
.o
*
.ali gnat.cfg examiner
\
bin
*
.wrn
*
.gpr testcase
*
.ll
*
.s
.PHONY
:
all edit test-parse test-ada test-llvm coverage clean
\ No newline at end of file
.PHONY
:
all edit test-parse test-ada test-llvm coverage
\ No newline at end of file
tests/regression/test8/Makefile
View file @
3a62aadc
...
...
@@ -31,9 +31,4 @@ test-llvm:
coverage
:
coverage run
-p
../../../opengeode.py orchestrator.pr system_structure.pr
--toAda
clean
:
rm
-rf
*
.adb
*
.ads
*
.pyc runSpark.sh spark.idx
*
.o
*
.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
.PHONY
:
all edit test-parse test-ada test-llvm coverage clean
\ No newline at end of file
.PHONY
:
all edit test-parse test-ada test-llvm coverage
\ No newline at end of file
tests/regression/test9/Makefile
View file @
3a62aadc
...
...
@@ -21,8 +21,4 @@ test-llvm:
coverage
:
coverage run
-p
../../../opengeode.py challenge.pr system_structure.pr
--toAda
clean
:
rm
-rf
*
.adb
*
.ads
*
.pyc runSpark.sh spark.idx
*
.o
*
.ali gnat.cfg examiner
\
bin
*
.wrn
*
.gpr testcase
*
.ll
*
.s
.PHONY
:
all edit test-parse test-ada test-llvm coverage clean
\ No newline at end of file
.PHONY
:
all edit test-parse test-ada test-llvm coverage
\ No newline at end of file
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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