summary refs log tree commit diff stats
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #2867 from Araq/fix-2584Andreas Rumpf2015-06-075-8/+8
|\ | | | | Fixes #2584
| * s/procedure/routine/ in tests.Dominik Picheta2015-06-054-4/+4
| |
| * Got rid of errUndeclaredProcedureField.Dominik Picheta2015-06-041-1/+1
| |
| * Fixes #2584Dominik Picheta2015-06-045-8/+8
| | | | | | | | | | Better compiler errors for accessing undeclared fields, calling undeclared procedures and procedure fields.
* | fixes #2774Araq2015-06-061-0/+14
| |
* | fixes #2854Araq2015-06-061-0/+26
| |
* | Merge pull request #2824 from yglukhov/js-ct-lambda-liftingAndreas Rumpf2015-06-051-4/+1
|\ \ | |/ |/| Perform lambda lifting for compile-time stuff when targeting JS.
| * Perform lambda lifting for compile-time stuff when targeting JS. Enable ↵yglukhov2015-05-291-4/+1
| | | | | | | | unittest test.
* | Fixed codegen for DotDot magicyglukhov2015-06-041-1/+4
| |
* | added missing testAraq2015-05-281-0/+35
|/
* Enabled taddr and testobjs testsyglukhov2015-05-272-5/+15
|
* 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
| | | |