summary refs log tree commit diff stats
path: root/drnim/tests/config.nims
diff options
context:
space:
mode:
Diffstat (limited to 'drnim/tests/config.nims')
-rw-r--r--drnim/tests/config.nims10
1 files changed, 10 insertions, 0 deletions
diff --git a/drnim/tests/config.nims b/drnim/tests/config.nims
new file mode 100644
index 000000000..346b0b4e6
--- /dev/null
+++ b/drnim/tests/config.nims
@@ -0,0 +1,10 @@
+switch("path", "$nim/testament/lib") # so we can `import stdtest/foo` in this dir
+
+## prevent common user config settings to interfere with testament expectations
+## Indifidual tests can override this if needed to test for these options.
+switch("colors", "off")
+switch("filenames", "canonical")
+switch("excessiveStackTrace", "off")
+
+# we only want to check the marked parts in the tests:
+switch("staticBoundChecks", "off")