TESTS: Revert changes to module Makefile
The recent changes were made in attempt to fix the test building for NDS target, but since we're not building tests there, these changes are reverted for the sake of cleaner code.
This commit is contained in:
parent
4212734b1e
commit
37bb3abce4
1 changed files with 2 additions and 8 deletions
|
@ -43,14 +43,8 @@ endif
|
|||
|
||||
test: test/runner
|
||||
./test/runner
|
||||
test/runner: test/runner.o $(TEST_LIBS)
|
||||
$(QUIET_LINK)$(LD) $(TEST_CXXFLAGS) $(CPPFLAGS) $(TEST_CFLAGS) -o $@ $+ $(TEST_LDFLAGS)
|
||||
test/runner.cpp: $(TESTS)
|
||||
@mkdir -p test
|
||||
$(srcdir)/test/cxxtest/cxxtestgen.py $(TEST_FLAGS) -o $@ $+
|
||||
test/runner.o: test/runner.cpp
|
||||
$(QUIET_CXX)$(CXX) $(TEST_CXXFLAGS) $(CPPFLAGS) $(TEST_CFLAGS) -c $(<) -o $@
|
||||
|
||||
test/runner: test/runner.cpp $(TEST_LIBS)
|
||||
$(QUIET_CXX)$(CXX) $(TEST_CXXFLAGS) $(CPPFLAGS) $(TEST_CFLAGS) -o $@ $+ $(TEST_LDFLAGS)
|
||||
|
||||
clean: clean-test
|
||||
clean-test:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue