Opened 10 years ago

Last modified 10 years ago

#2750 closed defect

tests don't get cleaned/regenerated — at Version 1

Reported by: fabio Owned by:
Priority: If Time Permits Milestone:
Component: Build & Packages Keywords:
Cc: Patch:

Description (last modified by fabio)

I moved the 0ad directory (from /home/fabio/0ad to /home/fabio/0ad/trunk) and noticed tests building errors, due to include still referring to paths to the previous 0ad directory. Sample error:

../../../source/simulation2/components/tests/test_Position.cpp:16:79: fatal error: /home/fabio/0ad/source/simulation2/components/tests/test_Position.h: File o directory non esistente
 #include "/home/fabio/0ad/source/simulation2/components/tests/test_Position.h"

I also cleaned workspaces, but the tests files didn't remove, and didn't also get regenerated while rebuilding.

I fixed it manually deleting the tests with something like:

rm source/*/*/tests/*.h

Change History (1)

comment:1 by fabio, 10 years ago

Description: modified (diff)
Note: See TracTickets for help on using tickets.