summary refs log tree commit diff stats
Commit message (Collapse)AuthorAgeFilesLines
* only compile coro.nim by avoiding "when isMainModule" string match inAman Gupta2015-10-021-1/+1
| | | | | | | | | | | | | | | | | | | | | | testament/tester FAIL: coro.nim Test "lib/pure/coro.nim" in category "lib" Failure: reOutputsDiffer Expected: Gotten: c1 c2 c2 c1 c2 c1 c2 c1 c1 exits c2 exits done 1100220033
* fix float comparision failure in math testsAman Gupta2015-10-021-1/+1
| | | | | | | | | | | | | | | | | FAIL: math.nim Test "lib/pure/math.nim" in category "lib" Failure: reExitcodesDiffer Expected: exitcode: 0 Gotten: exitcode: 1 Output: Traceback (most recent call last) math.nim(478) math system.nim(3343) failedAssertImpl system.nim(3335) raiseAssert system.nim(2531) sysFatal Error: unhandled exception: tgamma(5.0'f64) == 24.0'f64 [AssertionError]
* fix test failures due to import errorsAman Gupta2015-10-023-2/+4
|
* remove trailing whitespace requirement from subexes test fileAman Gupta2015-10-021-14/+13
|
* install nimble and zip packageAman Gupta2015-10-021-0/+3
|
* show stderr w/ reExitcodesDifferAman Gupta2015-10-021-1/+1
|
* download fasm for the coro buildAman Gupta2015-10-021-0/+5
|
* fix rawsockets testAman Gupta2015-10-022-4/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | FAIL: trawsockets.nim Test "tests/cpp/trawsockets.nim" in category "cpp" Failure: reNimcCrash Expected: Gotten: Hint: system [Processing] Hint: trawsockets [Processing] Hint: rawsockets [Processing] Hint: unsigned [Processing] lib/pure/rawsockets.nim(15, 8) Warning: unsigned is deprecated [Deprecated] Hint: os [Processing] Hint: strutils [Processing] Hint: parseutils [Processing] Hint: times [Processing] Hint: posix [Processing] CC: compiler_trawsockets CC: stdlib_system CC: stdlib_rawsockets CC: stdlib_unsigned CC: stdlib_os CC: stdlib_strutils Error: execution of an external compiler program 'clang++ -c -w -I/Users/tmm1/code/nim/lib -o tests/cpp/nimcache/stdlib_rawsockets.o tests/cpp/nimcache/stdlib_rawsockets.cpp' failed with exit code: 256 tests/cpp/nimcache/stdlib_rawsockets.cpp:355:8: error: assigning to 'NCSTRING' (aka 'char *') from incompatible type 'const char *' LOC6 = gai_strerror(gairesult); ^ ~~~~~~~~~~~~~~~~~~~~~~~ tests/cpp/nimcache/stdlib_rawsockets.cpp:499:8: error: assigning to 'NCSTRING' (aka 'char *') from incompatible type 'const char *' LOC5 = hstrerror(h_errno); ^ ~~~~~~~~~~~~~~~~~~ tests/cpp/nimcache/stdlib_rawsockets.cpp:650:8: error: assigning to 'NCSTRING' (aka 'char *') from incompatible type 'const char *' LOC9 = inet_ntop(AF_INET6, ((void*) (addr6)), result->data, ((NI32)chckRange((result ? result->len : 0), ((NI32) (-2147483647 -1)), ((NI32) 2147483647)))); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tests/cpp/nimcache/stdlib_rawsockets.cpp:771:10: error: assigning to 'NCSTRING' (aka 'char *') from incompatible type 'const char *' LOC17 = inet_ntop(name.sin6_family, ((void*) ((&name))), ((NCSTRING) (buf)), ((NI32)chckRange(((NI)sizeof(TY143006)), ((NI32) (-2147483647 -1)), ((NI32) 2147483647)))); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tests/cpp/nimcache/stdlib_rawsockets.cpp:859:10: error: assigning to 'NCSTRING' (aka 'char *') from incompatible type 'const char *' LOC17 = inet_ntop(name.sin6_family, ((void*) ((&name))), ((NCSTRING) (buf)), ((NI32)chckRange(((NI)sizeof(TY143006)), ((NI32) (-2147483647 -1)), ((NI32) 2147483647)))); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 5 errors generated.
* Merge remote-tracking branch 'origin/devel' into fix-test-failuresAman Gupta2015-10-0223-30/+110
|\
| * Merge pull request #3411 from oderwat/fix-osx-ospathsAndreas Rumpf2015-10-021-4/+4
| |\ | | | | | | Added ReadIOEffect because thats what happens on OSX.
| | * Added ReadIOEffect because thats what happens on OSX.Hans Raaf2015-10-021-4/+4
| |/
| * Merge pull request #3402 from tmm1/exec-processes-after-cbAndreas Rumpf2015-10-023-13/+21
| |\ | | | | | | Add afterRunEvent callback to execProcesses()
| | * remove echo() from compilerAman Gupta2015-10-011-2/+2
| | |
| | * show full compiler output with reNimcCrashAman Gupta2015-09-301-0/+2
| | |
| | * remove "rerun with --parallelBuild:1" message and show error inlineAman Gupta2015-09-301-12/+13
| | |
| | * add afterRunEvent callback to execProcessesAman Gupta2015-09-301-1/+6
| | |
| * | Merge pull request #3406 from jlp765/rationals1Dominik Picheta2015-10-013-3/+23
| |\ \ | | | | | | | | Rationals - add checks and tests
| | * | add two test:JamesP2015-10-012-0/+19
| | | | | | | | | | | | | | | | | | | | zero denominator assert fail, float type compile failure
| | * | add a few type checks to limit type to SomeIntegerJamesP2015-10-011-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | (adding a compund type to the Rational type definition made it too difficult to define new variables using integer literals)
| | * | add assertion for zero denominatorJamesP2015-10-011-0/+1
| | |/
| * | Merge pull request #3394 from nanoant/patch/use-new-filter-prefixAndreas Rumpf2015-10-019-9/+9
| |\ \ | | | | | | | | Use new #? filter prefix in various places
| | * | Use new #? filter prefix in various placesAdam Strzelecki2015-09-309-9/+9
| | | | | | | | | | | | | | | | This silences deprecation warnings and prevent collision with UNIX shebang.
| * | | Merge pull request #3384 from tmm1/bitsize-pragmaAndreas Rumpf2015-10-017-1/+53
| |\ \ \ | | |_|/ | |/| | Implement bitsize pragma for bitfields
| | * | document new bitsize pragmaAman Gupta2015-09-302-0/+20
| | | |
| | * | Merge remote-tracking branch 'origin/devel' into bitsize-pragmaAman Gupta2015-09-306-9/+27
| | |\ \
| | * | | ensure generated c-code matchesAman Gupta2015-09-301-0/+4
| | | | |
| | * | | Merge remote-tracking branch 'origin/devel' into bitsize-pragmaAman Gupta2015-09-2914-45/+348
| | |\ \ \
| | * | | | better assertions for bitfield behaviorAman Gupta2015-09-291-3/+14
| | | | | |
| | * | | | switch to bitsize:intAman Gupta2015-09-291-1/+1
| | | | | |
| | * | | | implement bitsize pragma for bitfieldsAman Gupta2015-09-285-1/+18
| | | | | |
* | | | | | use clang for threading tests on travisAman Gupta2015-10-021-0/+1
| | | | | |
* | | | | | fix test failure due to "illegal recursion" error messageAman Gupta2015-10-011-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | | | | | fix test failure in coro.nimAman Gupta2015-10-011-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | FAIL: coro.nim Test "lib/pure/coro.nim" in category "lib" Failure: reNimcCrash Expected: Gotten: Coroutines require -d:nimCoroutines
* | | | | | fix test failures in subexes due to missing trailing whitespaceAman Gupta2015-10-011-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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"] ==
* | | | | | fix failure in lib/pure/ospaths.nimAman Gupta2015-09-301-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | FAIL: ospaths.nim Test "lib/pure/ospaths.nim" in category "lib" Failure: reNimcCrash Expected: Gotten: invalid pragma: rtl
* | | | | | fix failure in tests/method/tmapper.nimAman Gupta2015-09-301-1/+1
|/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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)
* | | | | Merge pull request #3398 from tmm1/run-single-testAndreas Rumpf2015-09-302-2/+8
|\ \ \ \ \ | | | | | | | | | | | | Allow testament/tester to run single file
| * | | | | allow testament/tester to run single fileAman Gupta2015-09-302-2/+8
| | | | | |
* | | | | | fixes #2473; cleanup of some testsAraq2015-09-306-54/+28
| | | | | |
* | | | | | Merge pull request #3345 from rbehrends/no-unmapAndreas Rumpf2015-09-301-4/+7
|\ \ \ \ \ \ | |/ / / / / |/| | | | | Add option to disable munmap() use in the allocator.
| * | | | | Add option to disable munmap() use in the allocator.Reimer Behrends2015-09-181-4/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When compiling with '-d:nimAllocNoUnmap', the allocator will not attempt to return large chunks to the OS. For certain allocation behaviors, this can be a significant speedup.
* | | | | | Merge pull request #3385 from ↵Andreas Rumpf2015-09-301-1/+1
|\ \ \ \ \ \ | |_|_|_|/ / |/| | | | | | | | | | | | | | | | | nanoant/patch/dont-fail-on-unknown-enum-value-to-string vm: Don't fail on unknown enum position to string
| * | | | | vm: Don't fail on unknown enum position to stringAdam Strzelecki2015-09-281-1/+1
| | |/ / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | 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".
* | | | | NimScript: --threads:on works in a nims fileAraq2015-09-301-1/+1
| | | | |
* | | | | Merge pull request #3397 from xyz32/move_to_constAndreas Rumpf2015-09-301-5/+6
|\ \ \ \ \ | |_|_|_|/ |/| | | | Move magic numbers to const
| * | | | use const instead of letRadu Oana2015-09-301-1/+1
| | | | |
| * | | | Move magic numbers to constRadu Oana2015-09-301-5/+6
|/ / / /
* | | | Merge pull request #3391 from tmm1/travis-ciDominik Picheta2015-09-301-2/+12
|\ \ \ \ | | | | | | | | | | Tweak travis config
| * | | | add libcurl and libsdl1 headersAman Gupta2015-09-291-0/+5
| | | | |
| * | | | remove mac builds for nowAman Gupta2015-09-291-1/+0
| | | | |