diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2013-07-11 12:47:56 -0400 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2013-07-11 12:47:56 -0400 |
commit | 5d20b3e24eefc55b575d3703667d4a87e6491028 (patch) | |
tree | f8652e329bb20a8a824e68c5034722131a000f00 /libs/pbd/test | |
parent | cb23bdd547c41121fd1e3bfff93de2e55981ad4c (diff) |
Ifdef unix specific test for mingw build
Diffstat (limited to 'libs/pbd/test')
-rw-r--r-- | libs/pbd/test/filesystem_test.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libs/pbd/test/filesystem_test.cc b/libs/pbd/test/filesystem_test.cc index ce2faadc82..0cbe5baf32 100644 --- a/libs/pbd/test/filesystem_test.cc +++ b/libs/pbd/test/filesystem_test.cc @@ -10,6 +10,7 @@ CPPUNIT_TEST_SUITE_REGISTRATION (FilesystemTest); void FilesystemTest::testPathIsWithin () { +#ifndef WIN32 system ("rm -r foo"); CPPUNIT_ASSERT (g_mkdir_with_parents ("foo/bar/baz", 0755) == 0); @@ -31,5 +32,6 @@ FilesystemTest::testPathIsWithin () CPPUNIT_ASSERT (PBD::path_is_within ("foo/bar", "foo/bar")); CPPUNIT_ASSERT (PBD::path_is_within ("foo/jim/baz", "frobozz") == false); +#endif } |