Test data files are confusingly located
---------------------------------------
Key: TUSCANY-305
URL: http://issues.apache.org/jira/browse/TUSCANY-305
Project: Tuscany
Type: Improvement
Components: C++ SDO
Environment: Microsoft Visual Studio V7.1 running on Windows XP
Reporter: Geoff Winn
Priority: Minor
The build_instructions.txt file includes the following paragraph.
"The test project runs in the projects directory, where in C6 it ran in the
Debug directory,
so all the test comparison files are in the wrong place. You can copy the
entire contents
of runtime/core/test/Debug to projects/tuscany_sdo/sdo_test"
The directory paths quoted are slightly inaccurate and the attached patch
corrects this text. However, more seriously, the directory structure that
contains the test data files is more complicated than this paragraph suggests
and a simple copy isn't sufficient. There are two exceptions.
1. The sdo_test program at one point looks for ..\test\test\include3.xsd.
To comply with that, it is necessary to create a new "test" directory as a
sibling of tuscany\cpp\sdo\projects\tuscany_sdo\sdo_runtime and then copy the
test directory from tuscany\cpp\sdo\runtime\core\test into that newly created
directory.
2. The sdo_test program also looks for ..\test2\includeother3.xsd
To comply with that, it is necessary to copy the test2 directory from
tuscany\cpp\sdo\runtime\core\test to be another sibling of
tuscany\cpp\sdo\projects\tuscany_sdo\sdo_runtime ie one level higher than you
get if you follow the simple copy instruction.
These latter two points could also be recorded in the build_instructions.txt
file, but it might be better in the long term to re-arrange the test data so
that it doesn't use such intricate paths.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira