Fix running libpbd unit tests when $TOP(in test scripts) is set as relative path

Add test for PBD::canonical_path that was used to track down silly mistake
in test code
This commit is contained in:
Tim Mayberry 2014-12-02 20:40:50 +07:00
parent dd976d8c7a
commit 0ec85a4164
2 changed files with 36 additions and 0 deletions

View file

@ -10,6 +10,7 @@ class FilesystemTest : public CppUnit::TestFixture
CPPUNIT_TEST (testFindFilesMatchingPattern);
CPPUNIT_TEST (testClearDirectory);
CPPUNIT_TEST (testRemoveDirectory);
CPPUNIT_TEST (testCanonicalPath);
CPPUNIT_TEST_SUITE_END ();
public:
@ -19,5 +20,6 @@ public:
void testFindFilesMatchingPattern ();
void testClearDirectory ();
void testRemoveDirectory ();
void testCanonicalPath ();
};