Aman Gupta
97c2574e8d
fix test failure due to "illegal recursion" error message
...
FAIL: tillegal_recursion.nim
Test "tests/objects/tillegal_recursion.nim" in category "objects"
Failure: reMsgsDiffer
Expected:
illegal recursion in type 'object'
Gotten:
inheritance only works with non-final objects
2015-10-01 12:25:39 -07:00
Aman Gupta
f89c247a89
fix test failure in coro.nim
...
FAIL: coro.nim
Test "lib/pure/coro.nim" in category "lib"
Failure: reNimcCrash
Expected:
Gotten:
Coroutines require -d:nimCoroutines
2015-10-01 12:05:45 -07:00
Aman Gupta
18882d006b
fix test failures in subexes due to missing trailing whitespace
...
FAIL: subexes.nim
Test "lib/pure/subexes.nim" in category "lib"
Failure: reExitcodesDiffer
Expected:
exitcode: 0
Gotten:
exitcode: 1
Output:
Traceback (most recent call last)
subexes.nim(385) subexes
system.nim(3335) raiseAssert
system.nim(2531) sysFatal
Error: unhandled exception: "$#($\', \'10c\'\x0A \'{#..})" % ["doAssert", "longishA", "longish"] ==
2015-10-01 12:05:45 -07:00
Aman Gupta
61ace9e394
fix failure in lib/pure/ospaths.nim
...
FAIL: ospaths.nim
Test "lib/pure/ospaths.nim" in category "lib"
Failure: reNimcCrash
Expected:
Gotten:
invalid pragma: rtl
2015-09-30 20:14:14 -07:00
Aman Gupta
82a04051bb
fix failure in tests/method/tmapper.nim
...
FAIL: tmapper.nim
Test "tests/method/tmapper.nim" in category "method"
Failure: reMsgsDiffer
Expected:
invalid declaration order; cannot attach 'step' to method defined here: tmapper.nim(22,7)
Gotten:
invalid declaration order; cannot attach 'step' to method defined here: tests/method/tmapper.nim(22,7)
2015-09-30 20:13:38 -07:00
Andreas Rumpf
2d2f152e3c
Merge pull request #3398 from tmm1/run-single-test
...
Allow testament/tester to run single file
2015-09-30 21:16:36 +02:00
Araq
5a003532d0
fixes #2473 ; cleanup of some tests
2015-09-30 21:13:13 +02:00
Andreas Rumpf
1a63e630ae
Merge pull request #3345 from rbehrends/no-unmap
...
Add option to disable munmap() use in the allocator.
2015-09-30 21:10:36 +02:00
Aman Gupta
435fbbc943
allow testament/tester to run single file
2015-09-30 12:09:58 -07:00
Andreas Rumpf
55bc5d15c7
Merge pull request #3385 from nanoant/patch/dont-fail-on-unknown-enum-value-to-string
...
vm: Don't fail on unknown enum position to string
2015-09-30 21:09:17 +02:00
Araq
dd2225fe07
NimScript: --threads:on works in a nims file
2015-09-30 17:18:52 +02:00
Andreas Rumpf
8dad20fe38
Merge pull request #3397 from xyz32/move_to_const
...
Move magic numbers to const
2015-09-30 17:05:38 +02:00
Radu Oana
4bba8e026a
use const instead of let
2015-09-30 09:49:22 -04:00
Radu Oana
374b65289c
Move magic numbers to const
2015-09-30 08:20:24 -04:00
Dominik Picheta
4071219e20
Merge pull request #3391 from tmm1/travis-ci
...
Tweak travis config
2015-09-30 10:37:19 +01:00
Araq
d80f163384
NimScript: --define works as expected
2015-09-30 11:02:42 +02:00
Aman Gupta
517312467e
add libcurl and libsdl1 headers
2015-09-29 16:22:47 -07:00
Aman Gupta
a90241b8c4
remove mac builds for now
2015-09-29 16:20:51 -07:00
Aman Gupta
7f619c75e6
build on macosx too
2015-09-29 15:51:43 -07:00
Aman Gupta
dd1e0bd836
run in travisci containers
2015-09-29 15:51:31 -07:00
Aman Gupta
52230e2ae0
set PATH for tests
2015-09-29 15:51:18 -07:00
Aman Gupta
243e665965
fix current directory
2015-09-29 15:42:45 -07:00
Dominik Picheta
980db2f440
Merge pull request #3390 from tmm1/travis-ci
...
Run tests on TravisCI
2015-09-29 23:29:45 +01:00
Dominik Picheta
1fa7b62763
Merge pull request #3388 from nanoant/patch/kqueue-support-for-osx-and-freebsd
...
kqueue support for OS X and Free/Open/NetBSD
2015-09-29 23:28:13 +01:00
Aman Gupta
fbe7bf3c8b
no more build.sh, bootstrap release too
2015-09-29 15:27:37 -07:00
Aman Gupta
3af310eb55
add basic travis config
2015-09-29 14:59:02 -07:00
Araq
29dac5ed60
Nimscript: the compiler supports a directory wide config.nims file
2015-09-29 21:01:26 +02:00
Araq
1b7d8246c1
NimScript: setCommand takes an optional project filename
2015-09-29 20:44:12 +02:00
Araq
27bdf5c45c
osproc: free resources properly for the new poInteractive flag
2015-09-29 20:00:28 +02:00
Araq
5f7ad9131f
added osproc.poInteractive and osproc.hasData; both experimental
2015-09-29 19:30:47 +02:00
Araq
6268bf33a2
fixes #3387
2015-09-29 19:30:46 +02:00
Araq
4e44ded2be
winlean additions; preparing for osproc patch to use named pipes
2015-09-29 19:30:45 +02:00
Araq
c852143f3a
os.walkDir supports yielding relative paths
2015-09-29 19:30:44 +02:00
Araq
ab6f8f6e5b
fixesunicode.lastRune
2015-09-29 19:30:44 +02:00
Araq
985594cbb8
added streams.readAll proc
2015-09-29 19:30:43 +02:00
Adam Strzelecki
4c537bd1e5
selectors: Cleanup a bit epoll flavor
...
1. Remove select documentation that is duplicate of nimdoc section below
2. Simplify a bit register proc code
2015-09-29 19:28:10 +02:00
Adam Strzelecki
248f52fea7
Selectors using OS X & Free/Open/NetBSD kqueue API
2015-09-29 19:27:41 +02:00
Adam Strzelecki
900ea81030
lib/posix: OS X & Free/Open/NetBSD kqueue API
2015-09-29 19:27:10 +02:00
Dominik Picheta
d8a10457e2
Fixes #3207 .
2015-09-28 23:04:17 +01:00
Adam Strzelecki
4be6844756
vm: Don't fail on unknown enum position to string
...
Previously trying to convert constant of enum type, where this enum type has no
entry with given constant position leaded to "internal error: opConv for enum".
Instead of producing error, now we gracefully convert it to "EnumType position".
2015-09-28 23:34:52 +02:00
Dominik Picheta
bb7604c06f
Improved "Execution of an external program failed" message.
2015-09-27 14:18:03 +01:00
Dominik Picheta
0370dff8e0
Merge pull request #3378 from jlp765/streamsEx
...
Streams examples & default newFileStream() file mode
2015-09-27 13:46:04 +01:00
Dominik Picheta
9c5f89ac85
Merge pull request #3381 from jlp765/memfilesTest
...
tmemfiles minor fix
2015-09-27 12:42:42 +01:00
JamesP
8b230ec085
minor fix - remove comments from discard section
...
so koch test doesn't complain
2015-09-27 16:21:47 +10:00
JamesP
772c25bfe8
fix discard output: section
2015-09-27 15:49:40 +10:00
Dominik Picheta
f9eda7e0b1
Merge pull request #3376 from TheAnonymous/devel
...
Added examples in documenation for add del delete repr insert sizeof high low
2015-09-26 10:45:38 +01:00
Jakob Oesterling
ca9845dcc0
fixed wrong examples
2015-09-26 01:08:49 +02:00
JamesP
e0707797a5
add test for newFileStream() opening a missing file
2015-09-26 08:34:59 +10:00
JamesP
ff9a3d39d7
add default file mode to newFileStream()
2015-09-26 08:18:42 +10:00
JamesP
eed1000252
add examples to top of module for stringStream and fileStream
2015-09-26 08:18:09 +10:00