Skip to content

Commit

Permalink
* Rework makefile
Browse files Browse the repository at this point in the history
    For #281
  • Loading branch information
yoogx committed Nov 27, 2020
1 parent 9b05c1f commit 39f2b6f
Showing 1 changed file with 7 additions and 8 deletions.
15 changes: 7 additions & 8 deletions resources/runtime/python/test/Makefile.am
Original file line number Diff line number Diff line change
@@ -1,12 +1,11 @@
ifeq ($(PYTHON_TEST), yes)
TESTS = metrics test_api
fi


check-local: $(TEST)
check-local: metrics test_api

metrics:
./metrics.py -a rma.aadl -r rma.impl
if [ x"$$PYTHON°TEST" = x"yes" ]; then \
./metrics.py -a rma.aadl -r rma.impl ; \
fi

test_api:
./test.py
if [ x"$$PYTHON°TEST" = x"yes" ]; then \
./test.py ; \
fi

0 comments on commit 39f2b6f

Please sign in to comment.