summary refs log tree commit diff stats
path: root/tests/coroutines
Commit message (Collapse)AuthorAgeFilesLines
* stdlib tests now check refc too (#21664)ringabout2023-04-212-2/+2
| | | | | | | | | | | * stdlib tests now check refc too * typo * fixes line numbers * disable cpp * do not touch
* fix #15628 (#16387)flywind2021-01-212-25/+36
| | | | | | | | | * done * Apply suggestions from code review * fixup Co-authored-by: Timothee Cour <timothee.cour2@gmail.com>
* testament: error instead of silently ignore invalid targets; remove ↵Timothee Cour2020-12-144-4/+4
| | | | | | | | | | | pointless alias target vs targets; document matrix; DRY (#16343) * testament: error instead of silently ignore invalid targets * s/target/targets/ * fix test; refs #16344 * address comments * Update testament/specs.nim Co-authored-by: Andreas Rumpf <rumpf_a@web.de>
* Close#5586 (#14682)Dylan Modesitt2020-06-162-3/+0
| | | | | * re-enable macos and bsd on some coro tests * re-enable macos and bsd on some coro tests
* #12103 - CI for OpenBSD (#12105)Euan2020-04-212-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Working on OpenBSD CI * Condense steps into 2 steps to make output easier to follow. * Move up one directory after csources build. * Remove FreeBSD build manifest and add OpenBSD test ignores for coroutines and hot code reloading. * If runCI fails, run the test results script. * Add email trigger for build failure * Remove .git from repository URL * Disable SFML test on OpenBSD * Disable tgetaddrinfo on OpenBSD as only UDP and TCP protocols are supported. * Remove getFilePermissions as it causes CI test failures with NimScript. * Set clang as cc in nim.cfg and use gmake to build csources. * Add getCurrentDir to nimscript. * Remove duplicate getCurrentDir and check for not weirdTarget. * Add CI badge for OpenBSD. * Disable tests which allocate lots of memory for OpenBSD. * Use `CORO_BACKEND_SETJMP` on OpenBSD rather than ucontext. * Simplify building of koch * Disable t8657 on OpenBSD. See issue #13760. * Fix #12142 - tarray_of_channels fails on OpenBSD * Disable thhtpclient_ssl and tosprocterminate on OpenBSD. These tests can be enabled at a later date after fixing them. * Install libffi. * Set path to libc for openbsd. * Disable tevalffi for now. * Remove tevalffi.nim. * Use ncpuonline sysctl rather than ncpu. * Disable tacceptcloserace and tasynchttpserver on OpenBSD. * Enable tacceptcloserace and tasynchttpserver. * Fix #13775 as suggested by @alaviss - use /bin/cat on OpenBSD rather than /bin/sh. * Enable test on OpenBSD. * Disable tflowvar on OpenBSD.
* intVal works now on enum field symbols (#11403)Arne Döring2019-06-051-0/+3
| | | | | | * intVal works now on enum field symbols * disable flakey titerators test
* disable flaky coroutines testAndreas Rumpf2019-02-131-0/+1
|
* fix coro testArne Döring2018-11-231-1/+1
|
* updated tests to be executedArne Döring2018-11-231-1/+2
|
* disable some tests for the C++ target; refs #7870Araq2018-11-154-0/+13
|
* attempt to make travis OSX tests green and mandatoryAndreas Rumpf2017-03-291-0/+1
|
* Fix waiting on coroutines (#5463)Rokas Kupstys2017-03-022-0/+20
| | | | | | Public coroutine API returns a safe reference to specific running coroutine. Fixes bug where multiple coroutines executing same procedure would identify as same coroutine. Greatly optimizes `alive()` (and as a result of that `wait()`) calls. Coroutine struct is allocated together with stack as memory unmanaged by GC.
* Proper use of sequences in coroutine testsRokas Kupstys2017-02-242-11/+8
|
* Removed test code from coro.nim and created three real tests for coroutinesRokas Kupstys2017-02-206-0/+68