summaryrefslogtreecommitdiffstats
path: root/tests/clar/clar/fs.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--tests/clar/clar/fs.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/clar/clar/fs.h b/tests/clar/clar/fs.h
index 44ede45..a6eda5e 100644
--- a/tests/clar/clar/fs.h
+++ b/tests/clar/clar/fs.h
@@ -295,7 +295,9 @@ fs_copy(const char *_source, const char *_dest)
void
cl_fs_cleanup(void)
{
+#ifdef CLAR_FIXTURE_PATH
fs_rm(fixture_path(_clar_path, "*"));
+#endif
}
#else