equal
deleted
inserted
replaced
36 |
36 |
37 run-tests.py: error: --with-hg must specify an executable hg script |
37 run-tests.py: error: --with-hg must specify an executable hg script |
38 [2] |
38 [2] |
39 $ rm hg |
39 $ rm hg |
40 #endif |
40 #endif |
|
41 |
|
42 Features for testing optional lines |
|
43 =================================== |
|
44 |
|
45 $ cat > hghaveaddon.py <<EOF |
|
46 > import hghave |
|
47 > @hghave.check("custom", "custom hghave feature") |
|
48 > def has_custom(): |
|
49 > return True |
|
50 > @hghave.check("missing", "missing hghave feature") |
|
51 > def has_missing(): |
|
52 > return False |
|
53 > EOF |
41 |
54 |
42 an empty test |
55 an empty test |
43 ======================= |
56 ======================= |
44 |
57 |
45 $ touch test-empty.t |
58 $ touch test-empty.t |
65 > 123 (?) |
78 > 123 (?) |
66 > abc |
79 > abc |
67 > def (?) |
80 > def (?) |
68 > 456 (?) |
81 > 456 (?) |
69 > xyz |
82 > xyz |
|
83 > $ printf 'zyx\nwvu\ntsr\n' |
|
84 > abc (?) |
|
85 > zyx (custom !) |
|
86 > wvu |
|
87 > no_print (no-custom !) |
|
88 > tsr (no-missing !) |
|
89 > missing (missing !) |
70 > EOF |
90 > EOF |
71 |
91 |
72 $ rt |
92 $ rt |
73 . |
93 . |
74 # Ran 1 tests, 0 skipped, 0 warned, 0 failed. |
94 # Ran 1 tests, 0 skipped, 0 warned, 0 failed. |
339 abc |
359 abc |
340 def |
360 def |
341 xyz |
361 xyz |
342 + echo *SALT* 15 0 (glob) |
362 + echo *SALT* 15 0 (glob) |
343 *SALT* 15 0 (glob) |
363 *SALT* 15 0 (glob) |
|
364 + printf *zyx\nwvu\ntsr\n* (glob) |
|
365 zyx |
|
366 wvu |
|
367 tsr |
|
368 + echo *SALT* 22 0 (glob) |
|
369 *SALT* 22 0 (glob) |
344 . |
370 . |
345 # Ran 2 tests, 0 skipped, 0 warned, 0 failed. |
371 # Ran 2 tests, 0 skipped, 0 warned, 0 failed. |
346 |
372 |
347 Parallel runs |
373 Parallel runs |
348 ============== |
374 ============== |