Araq
1452edfbb9
better test program
2015-06-14 22:51:29 +02:00
Andreas Rumpf
2782cddb56
Merge pull request #2903 from yglukhov/js-bracket-addr
...
Fixed addr of bracket expression. Fixes #2148 .
2015-06-13 20:31:47 +02:00
Oscar Campbell
7ca61f484b
Non-base10 overflow allowed if bit-stable. Tests.
2015-06-12 13:45:15 +02:00
Andreas Rumpf
70e157d79e
Merge pull request #2894 from nanoant/patch/macros-real-node-compare
...
Real node compare for macros
2015-06-12 00:33:09 +02:00
Andreas Rumpf
e36c12ee37
Merge pull request #2902 from yglukhov/js-copying-fix
...
Fixed copying of aggregates in JS.
2015-06-12 00:30:49 +02:00
Andreas Rumpf
d31fe7666a
Merge pull request #2818 from flaviut/add-nre
...
Add nre to stdlib
2015-06-12 00:13:19 +02:00
yglukhov
6436d1920c
Fixed copying of aggregates in JS.
2015-06-11 23:32:08 +03:00
yglukhov
f47081b300
Fixed addr of bracket expression. Fixes #2148 .
2015-06-11 18:32:22 +03:00
Oscar Campbell
ee3d390b3f
Revert from columnar layout. Remove temp-fix for 2857.
2015-06-10 19:52:26 +02:00
Adam Strzelecki
b49c75c82a
macros: Add test for node comparsion
2015-06-10 18:07:21 +02:00
Flaviu Tamas
9db6070d73
Fix nre tests
2015-06-07 13:12:19 -04:00
Flaviu Tamas
90ed34db72
Merge branch 'devel' of https://github.com/Araq/Nim into add-nre
...
* 'devel' of https://github.com/Araq/Nim :
Fix #964 , fix #1384
Don't inspect typedescs
2015-06-07 13:12:18 -04:00
Oscar Campbell
f0b6c03b26
Merge branch 'devel' into bugfix-2858-testament-sources-system-wide
2015-06-07 13:17:06 +02:00
Andreas Rumpf
380d617f86
Merge pull request #2867 from Araq/fix-2584
...
Fixes #2584
2015-06-07 10:51:35 +02:00
Araq
54750f608d
fixes #2774
2015-06-06 13:25:20 +02:00
Araq
a730a974ed
fixes #2854
2015-06-06 11:59:35 +02:00
Dominik Picheta
ad6ad5d8d0
s/procedure/routine/ in tests.
2015-06-05 14:53:49 +01:00
Andreas Rumpf
62376c0657
Merge pull request #2824 from yglukhov/js-ct-lambda-lifting
...
Perform lambda lifting for compile-time stuff when targeting JS.
2015-06-05 13:04:02 +02:00
Oscar Campbell
0a810fd10f
Treat unitest's default esc.seq. output as empty.
2015-06-04 22:53:39 +02:00
Oscar Campbell
cdf631c508
Merge branch 'devel' into bugfix-2858-testament-sources-system-wide
2015-06-04 22:43:18 +02:00
Dominik Picheta
5d6f16cc1a
Got rid of errUndeclaredProcedureField.
2015-06-04 16:39:38 +01:00
Dominik Picheta
22f6017ab8
Fixes #2584
...
Better compiler errors for accessing undeclared fields, calling undeclared
procedures and procedure fields.
2015-06-04 13:55:48 +01:00
yglukhov
e9a57e9706
Fixed codegen for DotDot magic
2015-06-04 12:00:27 +03:00
Oscar Campbell
071ccf3d02
Add "safety compilation". Improved, fixed messages
...
- node ext searcher also looks for "iojs" if no node(js?) found.
- koch ensures the local work dir compiler is freshly compiled before executing the tests.
- the tester can only run in the repo dir - now the compiler and libs used are also explicitly the local dirs - so no confusion from system wide pathing ("sufficiently sandboxed").
- fixed expectations in tmitems.nim test to match changes in json mod.
- re-layouted the columns / row printing slightly, making test fails pop out more, and everything "normal" layed back.
2015-06-04 07:33:27 +02:00
Oscar Campbell
51fc903dbf
Made pathing (hopefully) Windows friendly.
2015-06-03 13:08:28 +02:00
Oscar Campbell
bf9053315c
Ensure fresh compiler and local compiler + libs
2015-06-03 03:22:17 +02:00
yglukhov
c5f7d553e9
Perform lambda lifting for compile-time stuff when targeting JS. Enable unittest test.
2015-05-29 10:48:14 +03:00
Araq
8d508162e8
added missing test
2015-05-28 12:51:18 +02:00
yglukhov
b4843bc7c1
Enabled taddr and testobjs tests
2015-05-27 11:36:45 +03:00
Flaviu Tamas
0527e1f9fe
Rearrange nre files
2015-05-26 19:14:04 -04:00
Flaviu Tamas
3daef85d6e
Fix #964 , fix #1384
...
Doesn't actually fix those bugs, but they can no longer be reproduced. Test
cases have been added.
2015-05-26 18:41:28 -04:00
Flaviu Tamas
c9616897f0
Don't inspect typedescs
2015-05-26 18:40:43 -04:00
yglukhov
d3c4c7c52f
Fixes #2798
2015-05-26 16:00:48 +03:00
Sergey Avseyev
411e602d13
Introduce pedantic mode for tester
...
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
2015-05-25 22:37:30 +03:00
Adam Strzelecki
1d47617d1b
Macros: Introduce getType(t: typedesc): NimNode
...
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.
2015-05-17 15:28:41 +02:00
Andreas Rumpf
9abbe3ba69
Merge pull request #2564 from reactormonk/jpoirier-realtimeGCTest
...
Jpoirier realtime gc test
2015-05-14 02:06:11 +02:00
Simon Hafner
2bc1db7a30
run the C test too
2015-05-13 13:13:30 -05:00
Adam Strzelecki
a8fbaf917b
Tests for static class proc, methods & iterators
...
This currently covers #2662 & #2710 bugs.
2015-05-13 19:10:54 +02:00
Simon Hafner
9c4a74637d
Merge branch 'devel' into jpoirier-realtimeGCTest
2015-05-13 12:06:05 -05:00
Andreas Rumpf
31d472d83d
Merge pull request #2660 from MrJohz/contains-tables
...
Add contains proc for tables to allow usage of `in`
2015-05-08 02:19:45 +02:00
Andreas Rumpf
9422dbf337
Merge pull request #2657 from def-/noreturn
...
Pass noReturn pragma to C code.
2015-05-08 02:08:32 +02:00
Varriount
d3f69e14f7
Merge pull request #2596 from Nycto/devel
...
Fix floats in tuples in HashSets
2015-05-07 13:02:42 -04:00
Jonathan
8e4af5ace0
Add contains proc for tables to allow usage of in
2015-05-05 23:26:58 +01:00
def
c5db4fc3a2
Move the noreturn pragma to sysFatal
...
Now you can choose to implement sysFatal with --os:standalone so that it
returns.
2015-05-05 20:26:54 +02:00
Araq
0e1167d64b
made test green
2015-05-03 01:08:53 +02:00
Araq
e23857a98b
fixes #2629 , fixes #2641 , fixes #2632 , fixes #2630
2015-05-03 01:08:52 +02:00
Araq
7d3a6b42d9
fixes #2625
2015-05-03 01:08:48 +02:00
Araq
6d05ae26e6
fixes regression caused by code cleanups
2015-04-29 22:24:50 +02:00
Araq
26eae7d00e
fixes #2470 , fixes #1354
2015-04-28 20:21:53 +02:00
Araq
c6398d408d
fixes #1888
2015-04-27 23:11:59 +02:00