summary refs log tree commit diff stats
path: root/tests/osproc
Commit message (Collapse)AuthorAgeFilesLines
* fixes #18058 (#18162)Andreas Rumpf2021-06-031-2/+2
|
* change `--hint[X] => --hint:X` in nim repo (avoids shell quoting issues) ↵Timothee Cour2021-05-261-1/+1
| | | | (#18085)
* fix #17853 (ascii message separator broke json nim dump) (#17887)Timothee Cour2021-04-291-2/+5
|
* unit separator (#17730)Andreas Rumpf2021-04-201-2/+2
| | | | | * use the ASCII Unit Separator so that error messages can be handled precisely by the tooling * updated testament
* use doAssert in tests (#16486)flywind2020-12-281-4/+4
|
* targets: use cpp instead of c++ everywhere (was by far the most common) (#15961)Timothee Cour2020-11-141-1/+1
|
* Add first draft of new osproc.readLines (#15429)c-blake2020-10-011-0/+20
| | | | | | | | | | | | | | | | | | | | | * Add first draft of new osproc.readLines * Add test for new osproc.readLines * Rename test to start w/t to run; Also add newline to output * Suppress hint messages. * Output should match this time. * Shoulda picked a program with simpler syntax than ..lol * Address https://github.com/nim-lang/Nim/pull/15429#issuecomment-701890898 and https://github.com/nim-lang/Nim/pull/15429#issuecomment-701985976 by factoring `readLines` into `iterator lines` and a wrapper `proc`. * Address https://github.com/nim-lang/Nim/pull/15429#issuecomment-702127289 and also add a `ReadIOEffect` tag to the iterator (called by the wrapper.. so it should need no separate tag, if I understand correctly).
* testament: generic N-fold batching: windows CI 37mn=>16m (#14823)Timothee Cour2020-06-278-160/+4
| | | | | | | | | * testament: run CI faster thanks to batching * move ta_in, tstdin into existing tosproc * move ta_out,tafalse,texitcode,tstderr into existing tosproc * joinable osproc * move tstdout into existing tosproc * spec: batchable; fix tests * fixup
* fix #13449 texitcode flaky on windows (#13487)Timothee Cour2020-02-251-1/+4
|
* make tests green againAraq2018-12-111-0/+2
|
* lots of small changesArne Döring2018-12-113-7/+13
|
* require errormsg to be specified before file.Arne Döring2018-12-114-4/+0
|
* more tests fixedArne Döring2018-11-231-0/+4
|
* activated more tests, allow input in test specArne Döring2018-11-233-0/+16
|
* merged #8624 manually; fixes #8442; closes #8575Araq2018-08-311-0/+32
|
* Haiku support for Nim (#8542)alaviss2018-08-142-1/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * posix_other: Haiku now has spawn.h This is added per https://dev.haiku-os.org/ticket/13446 * posix_other: Add Haiku specific Dirent members * cpuinfo: Add an implementation for Haiku * distros: Add basic Haiku support * encodings: update Haiku support * fenv, math: Haiku now provides libm * times: Add Haiku struct members * ansi_c, osalloc: Add Haiku constants * threads: Add Haiku support * testament: Haiku uses LIBRARY_PATH * nim.cfg: Update Haiku support libnetwork should only be linked if network functions are used * threads: Haiku does not support -pthread switch * tworkingdir: Haiku's env is in /bin * posix_other: add SIGKILLTHR for Haiku * sockets: link with libnetwork on Haiku * coro: correct ucontext.h location http://pubs.opengroup.org/onlinepubs/009696699/basedefs/ucontext.h.html * coro: ucontext backend is not available on Haiku Haiku doesn't provide the <ucontext.h> header, as it was removed from POSIX * coro: fix setjmp backend The compiler does not allow statements after a noreturn function * nativesockets: Haiku doesn't support AI_V4MAPPED * system: hostOS can contains "haiku" * os: add support for Haiku's packagefs packagefs is read-only, but there are writable holes to the underlying file system as well * os: update constant for Haiku
* osproc: fix double close on POSIX (#5724)Michał Zieliński2018-04-161-0/+24
| | | Calling close() in some cases issued two close() syscalls to one FD, which is incorrect in multithreaded programs.
* Fixes #5281 (#7489)Dmitry Atamanov2018-04-061-6/+5
|
* Refactored version of execProcesses with test.cheatfate2017-11-281-0/+32
|
* Introduce first class support for Android (#5772)Fredrik Høisæther Rasch2017-08-061-1/+5
|
* WIFSIGNALED means process has exited too (with a bang!) (#5678)Jacek Sieka2017-04-271-0/+36
|
* Bugfix/double newlines in stderr (#5426)Fabian Keller2017-02-245-4/+51
|
* make sure first call to running() after process exit returns falseJohannes Hofmann2016-12-031-0/+5
|
* One more attempt to fix #4867cheatfate2016-10-211-0/+16
|
* rename tfalse.nim to tafalse.nimJohannes Hofmann2016-09-303-7/+8
|
* add testcase for exit code handlingJohannes Hofmann2016-09-302-0/+20
|
* Fix passing environment in startProcess (win)Dmitry Polienko2016-07-181-0/+32
| | | | | Previous implementation used newWideCString, which doesn't handle strings with \0 characters.
* tests: Trim .nim files trailing whitespaceAdam Strzelecki2015-09-041-1/+1
| | | | via OSX: find . -name '*.nim' -exec sed -i '' -E 's/[[:space:]]+$//' {} +
* Clean up tests/osprocdef2015-02-041-3/+6
|
* Add osproc stdin test.Dominik Picheta2014-06-152-0/+19
>
a0c66db ^

434d36f ^
a0c66db ^
434d36f ^


bba3559 ^
7cf65a3 ^

a0c66db ^
434d36f ^
f5ab71b ^

6859450 ^
f5ab71b ^


434d36f ^


a0c66db ^
434d36f ^
a0c66db ^




7cf65a3 ^
a0c66db ^
bba3559 ^




a36edb7 ^


434d36f ^

a0c66db ^

434d36f ^








16d949e ^
434d36f ^
12cb565 ^
f5ab71b ^
d0111f1 ^
df5cd41 ^
12cb565 ^
434d36f ^



14ab072 ^
4018c2e ^

a901203 ^

434d36f ^















e699b5a ^
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186