mirror of
https://github.com/fwbuilder/fwbuilder
synced 2026-03-21 10:47:16 +01:00
Make target names for #1277
This commit is contained in:
parent
b63c1957dd
commit
db577ab613
@ -14,7 +14,10 @@ run_tests.commands = ./unit_tests.sh make run
|
|||||||
run_tests.depends = all
|
run_tests.depends = all
|
||||||
|
|
||||||
testclean.commands = /usr/bin/env python testclean.py
|
testclean.commands = /usr/bin/env python testclean.py
|
||||||
|
|
||||||
tests.depends = run_tests
|
tests.depends = run_tests
|
||||||
|
|
||||||
QMAKE_EXTRA_TARGETS += build_tests run_tests tests testclean
|
clean_tests.depends = testclean
|
||||||
|
|
||||||
|
QMAKE_EXTRA_TARGETS += build_tests run_tests clean_tests tests testclean
|
||||||
|
|
||||||
|
|||||||
@ -55,8 +55,9 @@ run.commands = echo "Running tests..." && \
|
|||||||
echo "OK" || { echo "FAILED"; exit 1; }
|
echo "OK" || { echo "FAILED"; exit 1; }
|
||||||
run.depends = all
|
run.depends = all
|
||||||
|
|
||||||
build.depends = all
|
run_test.depends = run
|
||||||
|
build_test.depends = all
|
||||||
QMAKE_EXTRA_TARGETS += run build
|
clean_test.depends = all
|
||||||
|
QMAKE_EXTRA_TARGETS += run run_test build_test clean_test
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@ -51,8 +51,10 @@ run.commands = echo "Running tests..." && \
|
|||||||
echo "OK" || { echo "FAILED"; exit 1; }
|
echo "OK" || { echo "FAILED"; exit 1; }
|
||||||
|
|
||||||
run.depends = all
|
run.depends = all
|
||||||
|
run_test.depends = run
|
||||||
QMAKE_EXTRA_TARGETS += run
|
build_test.depends = all
|
||||||
|
clean_test.depends = all
|
||||||
|
QMAKE_EXTRA_TARGETS += run run_test build_test clean_test
|
||||||
|
|
||||||
|
|
||||||
INCLUDEPATH += ../../../common \
|
INCLUDEPATH += ../../../common \
|
||||||
|
|||||||
@ -74,4 +74,7 @@ run.commands = echo "Running tests..." && \
|
|||||||
echo "OK" || { echo "FAILED"; exit 1; }
|
echo "OK" || { echo "FAILED"; exit 1; }
|
||||||
|
|
||||||
run.depends = all
|
run.depends = all
|
||||||
QMAKE_EXTRA_TARGETS += run
|
run_test.depends = run
|
||||||
|
build_test.depends = all
|
||||||
|
clean_test.depends = all
|
||||||
|
QMAKE_EXTRA_TARGETS += run run_test build_test clean_test
|
||||||
|
|||||||
@ -44,8 +44,10 @@ LIBS += -lgcov -lcppunit
|
|||||||
|
|
||||||
run.commands = echo "Running tests..." && ./${TARGET} && echo "OK" || echo "FAILED"
|
run.commands = echo "Running tests..." && ./${TARGET} && echo "OK" || echo "FAILED"
|
||||||
run.depends = all
|
run.depends = all
|
||||||
|
run_test.depends = run
|
||||||
QMAKE_EXTRA_TARGETS += run
|
build_test.depends = all
|
||||||
|
clean_test.depends = all
|
||||||
|
QMAKE_EXTRA_TARGETS += run run_test build_test clean_test
|
||||||
|
|
||||||
INCLUDEPATH += ../../../common \
|
INCLUDEPATH += ../../../common \
|
||||||
../../../iptlib \
|
../../../iptlib \
|
||||||
|
|||||||
@ -41,7 +41,10 @@ QMAKE_CXXFLAGS += $$CPPUNIT_CFLAGS
|
|||||||
LIBS += $$LIBS_FWCOMPILER $$LIBS_FWBUILDER $$CPPUNIT_LIBS
|
LIBS += $$LIBS_FWCOMPILER $$LIBS_FWBUILDER $$CPPUNIT_LIBS
|
||||||
LIBS += -lcppunit
|
LIBS += -lcppunit
|
||||||
|
|
||||||
run.commands = ./${TARGET} && gcov -o . ../../UsageResolver.cpp >/dev/null 2>/dev/null
|
run.commands = ./${TARGET}
|
||||||
run.depends = all
|
run.depends = all
|
||||||
|
|
||||||
QMAKE_EXTRA_TARGETS += run
|
run_test.depends = run
|
||||||
|
build_test.depends = all
|
||||||
|
clean_test.depends = all
|
||||||
|
QMAKE_EXTRA_TARGETS += run run_test build_test clean_test
|
||||||
|
|||||||
@ -378,8 +378,10 @@ run.commands = echo "Running tests..."; \
|
|||||||
./${TARGET}; \
|
./${TARGET}; \
|
||||||
rm test_work.fwb
|
rm test_work.fwb
|
||||||
run.depends = all
|
run.depends = all
|
||||||
QMAKE_EXTRA_TARGETS += run
|
run_test.depends = run
|
||||||
|
build_test.depends = all
|
||||||
|
clean_test.depends = all
|
||||||
|
QMAKE_EXTRA_TARGETS += run run_test build_test clean_test
|
||||||
|
|
||||||
|
|
||||||
contains( HAVE_ANTLR_RUNTIME, 1 ) {
|
contains( HAVE_ANTLR_RUNTIME, 1 ) {
|
||||||
|
|||||||
@ -381,8 +381,10 @@ run.commands = echo "Running tests..." \
|
|||||||
echo "OK" || echo "FAILED"; \
|
echo "OK" || echo "FAILED"; \
|
||||||
rm test_data_work.fwb;
|
rm test_data_work.fwb;
|
||||||
run.depends = all
|
run.depends = all
|
||||||
QMAKE_EXTRA_TARGETS += run
|
run_test.depends = run
|
||||||
|
build_test.depends = all
|
||||||
|
clean_test.depends = all
|
||||||
|
QMAKE_EXTRA_TARGETS += run run_test build_test clean_test
|
||||||
|
|
||||||
|
|
||||||
contains( HAVE_ANTLR_RUNTIME, 1 ) {
|
contains( HAVE_ANTLR_RUNTIME, 1 ) {
|
||||||
|
|||||||
@ -1,12 +1,12 @@
|
|||||||
DOLLAR = $
|
DOLLAR = $
|
||||||
|
|
||||||
build.commands = echo "Building tests..."; \
|
build.commands = echo "Building tests..."; \
|
||||||
./unit_tests.sh make
|
./unit_tests.sh make build_test
|
||||||
|
|
||||||
run.commands = echo "Running tests..."; \
|
run.commands = echo "Running tests..."; \
|
||||||
./unit_tests.sh make run
|
./unit_tests.sh make run_test
|
||||||
|
|
||||||
clean.commands = echo "Cleaning tests..."; \
|
clean.commands = echo "Cleaning tests..."; \
|
||||||
./unit_tests.sh make clean
|
./unit_tests.sh make clean_test
|
||||||
|
|
||||||
QMAKE_EXTRA_TARGETS += run clean build
|
QMAKE_EXTRA_TARGETS += run clean build
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user