mirror of
https://github.com/fwbuilder/fwbuilder
synced 2026-03-19 17:57:22 +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
|
||||
|
||||
testclean.commands = /usr/bin/env python testclean.py
|
||||
|
||||
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; }
|
||||
run.depends = all
|
||||
|
||||
build.depends = all
|
||||
|
||||
QMAKE_EXTRA_TARGETS += run build
|
||||
run_test.depends = run
|
||||
build_test.depends = all
|
||||
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; }
|
||||
|
||||
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
|
||||
|
||||
|
||||
INCLUDEPATH += ../../../common \
|
||||
|
||||
@ -74,4 +74,7 @@ run.commands = echo "Running tests..." && \
|
||||
echo "OK" || { echo "FAILED"; exit 1; }
|
||||
|
||||
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.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
|
||||
|
||||
INCLUDEPATH += ../../../common \
|
||||
../../../iptlib \
|
||||
|
||||
@ -41,7 +41,10 @@ QMAKE_CXXFLAGS += $$CPPUNIT_CFLAGS
|
||||
LIBS += $$LIBS_FWCOMPILER $$LIBS_FWBUILDER $$CPPUNIT_LIBS
|
||||
LIBS += -lcppunit
|
||||
|
||||
run.commands = ./${TARGET} && gcov -o . ../../UsageResolver.cpp >/dev/null 2>/dev/null
|
||||
run.commands = ./${TARGET}
|
||||
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}; \
|
||||
rm test_work.fwb
|
||||
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 ) {
|
||||
|
||||
@ -381,8 +381,10 @@ run.commands = echo "Running tests..." \
|
||||
echo "OK" || echo "FAILED"; \
|
||||
rm test_data_work.fwb;
|
||||
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 ) {
|
||||
|
||||
@ -1,12 +1,12 @@
|
||||
DOLLAR = $
|
||||
|
||||
build.commands = echo "Building tests..."; \
|
||||
./unit_tests.sh make
|
||||
./unit_tests.sh make build_test
|
||||
|
||||
run.commands = echo "Running tests..."; \
|
||||
./unit_tests.sh make run
|
||||
./unit_tests.sh make run_test
|
||||
|
||||
clean.commands = echo "Cleaning tests..."; \
|
||||
./unit_tests.sh make clean
|
||||
./unit_tests.sh make clean_test
|
||||
|
||||
QMAKE_EXTRA_TARGETS += run clean build
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user