Skip to content

run_tests doesn't run any test #2

Description

@romansil

I guess, that's a linking problem. If I compile it manually and then link all the .o files, it works.

cd code
g++ -c src/libmoney/Money.cpp -I include
g++ -c src_test/libmoney_test/MoneyTest.cpp -I include_test -I include
g++-c src_test/app/run_tests.cpp -lcppunit
g++ -o run_tests Money.o MoneyTest.o run_tests.o -lcppunit

Running that shows, that one test was executed:

./run_tests 
.

OK (1)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions