#define SEQAN_PATH_TO_ROOTReturn path to the checkout root directory (i.e. containing core/extras).
Return path to the checkout root directory (i.e. containing core/extras).
Defined in | <seqan/basic.h> |
---|---|
Signature |
TCharPtr SEQAN_PATH_TO_ROOT()
|
Return Values
TCharPtr |
char const *, string with the path to the parent directory of the tests directory. |
---|
Detailed Description
This only works when using the SeqAn SVN checkout!
The pointed to string is initialized on program startup by the code generated by SEQAN_BEGIN_TESTSUITE.
Examples
CharString buffer = SEQAN_PATH_TO_ROOT(); append(buffer, "/core/tests/files/example.txt"); FILE *f = fopen(toCString(buffer), "w"); fprintf(f, "Test Data"); fclose(f);