summary refs log tree commit diff stats
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
* Fix #964, fix #1384Flaviu Tamas2015-05-261-0/+16
| | | | | Doesn't actually fix those bugs, but they can no longer be reproduced. Test cases have been added.
* Don't inspect typedescsFlaviu Tamas2015-05-261-0/+5
|
* Fixes #2798yglukhov2015-05-261-0/+20
|
* Introduce pedantic mode for testerSergey Avseyev2015-05-251-1/+6
| | | | | | | | | | | | | | | | | | | | | | | Motivation ---------- External tools need to know whether or not any test in suite failed. For example buildbot, or packaging tool would like to stop the execution and mark it as failed if some tests does not pass. Modification ------------ Add `--pedantic` switch to tester program which will force it to quit with non-zero exit code if at least one failure detected. Also update `tests()` proc in koch to inspect result from tester and propagate it to user. Result ------ Nothing has changed in default behaviour. But following invocations will exit with non-zero code if there failed tests: ./koch tests --pedantic all ./tests/testament/tester --pedantic all
* Macros: Introduce getType(t: typedesc): NimNodeAdam Strzelecki2015-05-171-0/+20
| | | | | | | | | | | | | Since typedesc are exception in macros and they are not implicitly converted to NimNode on macro call, we need some means to perform such conversion on demand. Fortunately it is as simple as declaring new magic "NGetType" proc with typedesc parameter. NOTE: Keeping actual macro exceptional behavior for typedesc is important, since it allows passing typedesc macro parameter to other procs or macros expecting type parameter. If typedesc parameter was implicitly converted, then we would lost this ability.
* Merge pull request #2564 from reactormonk/jpoirier-realtimeGCTestAndreas Rumpf2015-05-149-2/+260
|\ | | | | Jpoirier realtime gc test
| * run the C test tooSimon Hafner2015-05-132-2/+2
| |
| * Merge branch 'devel' into jpoirier-realtimeGCTestSimon Hafner2015-05-1371-242/+2030
| |\
| * | integrated realtimegc stuff into testamentSimon Hafner2015-04-137-38/+78
| | |
| * | 15 minutes, bit better messagesSimon Hafner2015-04-043-8/+8
| | |
| * | Merge branch 'devel' into jpoirier-realtimeGCTestSimon Hafner2015-04-0112-25/+179
| |\ \
| * \ \ Merge branch 'realtimeGCTest' of https://github.com/jpoirier/Nim into ↵Simon Hafner2015-03-268-1/+219
| |\ \ \ | | | | | | | | | | | | | | | jpoirier-realtimeGCTest
| | * | | proper windows get process function name, fix batch file, add echoes backJoseph Poirier2015-01-083-4/+5
| | | | |
| | * | | add test note to the readmeJoseph Poirier2015-01-061-1/+4
| | | | |
| | * | | add proper cdm strings and comment out all echosJoseph Poirier2015-01-062-10/+10
| | | | |
| | * | | properly typecast the function pointersJoseph Poirier2015-01-061-3/+3
| | | | |
| | * | | fixed import object nameJoseph Poirier2015-01-061-3/+3
| | | | |
| | * | | Test the realtime GC, via long running process in a shared object, without ↵Joseph Poirier2015-01-067-0/+214
| | | | | | | | | | | | | | | | | | | | linking nimrtl.dll/so.
* | | | | Tests for static class proc, methods & iteratorsAdam Strzelecki2015-05-131-0/+19
| |_|_|/ |/| | | | | | | | | | | This currently covers #2662 & #2710 bugs.
* | | | Merge pull request #2660 from MrJohz/contains-tablesAndreas Rumpf2015-05-082-15/+19
|\ \ \ \ | | | | | | | | | | Add contains proc for tables to allow usage of `in`
| * | | | Add contains proc for tables to allow usage of `in`Jonathan2015-05-052-15/+19
| | | | |
* | | | | Merge pull request #2657 from def-/noreturnAndreas Rumpf2015-05-081-3/+3
|\ \ \ \ \ | | | | | | | | | | | | Pass noReturn pragma to C code.
| * | | | | Move the noreturn pragma to sysFataldef2015-05-051-3/+3
| |/ / / / | | | | | | | | | | | | | | | | | | | | Now you can choose to implement sysFatal with --os:standalone so that it returns.
* | | | | Merge pull request #2596 from Nycto/develVarriount2015-05-071-14/+34
|\ \ \ \ \ | |/ / / / |/| | | | Fix floats in tuples in HashSets
| * | | | Fix floats in tuples in HashSetsNycto2015-04-241-14/+34
| | | | | | | | | | | | | | | | | | | | | | | | | Previously, the added tests would fail to compile with errors complaining that 'hash(float)' didn't exist
* | | | | made test greenAraq2015-05-031-0/+46
| | | | |
* | | | | fixes #2629, fixes #2641, fixes #2632, fixes #2630Araq2015-05-032-0/+34
| | | | |
* | | | | fixes #2625Araq2015-05-031-0/+19
| | | | |
* | | | | fixes regression caused by code cleanupsAraq2015-04-291-0/+766
| | | | |
* | | | | fixes #2470, fixes #1354Araq2015-04-282-16/+220
| | | | |
* | | | | fixes #1888Araq2015-04-276-24/+41
| | | | |
* | | | | fixes regression: overloading by 'var'Araq2015-04-251-1/+9
| | | | |
* | | | | marshalling can be done at compile-timeAraq2015-04-251-17/+0
| | | | |
* | | | | fixes #2517Araq2015-04-253-9/+18
| | | | |
* | | | | fixes #2600Araq2015-04-251-1/+30
| | | | |
* | | | | fixes #2551; fixes #2212; breaks bootstrapping in debug mode; bootstrap with ↵Araq2015-04-251-0/+20
| | | | | | | | | | | | | | | | | | | | -d:release
* | | | | fixes #2372Araq2015-04-251-0/+12
|/ / / /
* | | | cleanups for underscores in tuple unpackingAraq2015-04-241-2/+8
| | | |
* | | | added test for #2536Araq2015-04-241-0/+38
| | | |
* | | | Merge pull request #2566 from nanoant/parser-diagnostic-locationAndreas Rumpf2015-04-243-0/+39
|\ \ \ \ | | | | | | | | | | Parser: Fix location (line, col) for diagnostics
| * | | | Parser: Test for exact missing ':' location columnAdam Strzelecki2015-04-213-0/+39
| | | | | | | | | | | | | | | | | | | | | | | | | This ensures compiler points to the right place when claiming that ':' is missing.
* | | | | Add sfGenSym for (_).Dominik Picheta2015-04-231-12/+20
| | | | |
* | | | | Merge branch 'devel' into underscore-tuple-unpackDominik Picheta2015-04-2338-41/+610
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: compiler/semstmts.nim
| * | | | | fixes #2585Araq2015-04-221-0/+30
| | | | | |
| * | | | | fixes #2581Araq2015-04-221-0/+24
| | | | | |
| * | | | | fixes #2550Araq2015-04-221-0/+14
| | | | | |
| * | | | | Fix expected tester messagesdef2015-04-212-4/+4
| |/ / / /
| * | | | Merge pull request #2575 from nanoant/test-for-error-location-columnAndreas Rumpf2015-04-212-6/+15
| |\ \ \ \ | | | | | | | | | | | | Tests: Optional error location column spec
| | * | | | Tests: Optional error location column specAdam Strzelecki2015-04-202-6/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This allows some test to specify error location column, to ensure compiler is generating diagnostics pointing to exactly right place of an error.
| * | | | | fixes #2505, fixes #1853, fixes #2522Araq2015-04-204-5/+43
| |/ / / /