tconcisetypemismatch.nims 771 B

12345678910111213141516171819202122
  1. switch("path", "$lib/../testament/lib")
  2. # so we can `import stdtest/foo` inside tests
  3. # Using $lib/../ instead of $nim/ so you can use a different nim to run tests
  4. # during local testing, e.g. nim --lib:lib.
  5. ## prevent common user config settings to interfere with testament expectations
  6. ## Indifidual tests can override this if needed to test for these options.
  7. switch("colors", "off")
  8. switch("excessiveStackTrace", "off")
  9. when (NimMajor, NimMinor, NimPatch) >= (1,5,1):
  10. # to make it easier to test against older nim versions, (best effort only)
  11. switch("filenames", "legacyRelProj")
  12. switch("spellSuggest", "0")
  13. # for std/unittest
  14. switch("define", "nimUnittestOutputLevel:PRINT_FAILURES")
  15. switch("define", "nimUnittestColor:off")
  16. hint("Processing", off)