|
1 | 1 | [doc Test history generation]
|
2 | 2 |
|
| 3 | +[config require=PWD] |
| 4 | + |
3 | 5 | [config timeout=20000]
|
4 | 6 |
|
5 | 7 | [include include/macros.luxinc]
|
|
10 | 12 | [local plain=$LUX_EXTRA_LOGS/$LUX_SHELLNAME]
|
11 | 13 | [local run=$plain/run]
|
12 | 14 | [invoke eval 0 "mkdir -p $run"]
|
13 |
| - [invoke eval 1 "../bin/lux --progress=summary --timeout=5000 --log_dir=$run/logs --html=validate ../examples"] |
14 |
| - [invoke eval 0 "../bin/lux --html=validate --history $plain"] |
| 15 | + [invoke eval 1 "$${LUX_BIN}/lux --progress=summary --timeout=5000 --log_dir=$run/logs --html=validate ../examples"] |
| 16 | + [invoke eval 0 "$${LUX_BIN}/lux --html=validate --history $plain"] |
15 | 17 |
|
16 | 18 | [shell move]
|
17 | 19 | [progress move]
|
18 | 20 | -LUX ERROR|0 test runs
|
19 | 21 | [local run=$LUX_EXTRA_LOGS/$LUX_SHELLNAME/run]
|
20 | 22 | [invoke eval 0 "mkdir -p $run"]
|
21 | 23 | [invoke eval 0 "cp -r ../examples $run/"]
|
22 |
| - [invoke eval 1 "../bin/lux --progress=summary --timeout=5000 --log_dir=$run/logs --html=validate $run/examples"] |
| 24 | + [invoke eval 1 "$${LUX_BIN}/lux --progress=summary --timeout=5000 --log_dir=$run/logs --html=validate $run/examples"] |
23 | 25 |
|
24 | 26 | [progress history]
|
25 | 27 | [local history=$LUX_EXTRA_LOGS/$LUX_SHELLNAME/history]
|
26 | 28 | [invoke eval 0 "mv $run $history"]
|
27 | 29 | [invoke eval 0 "rm -rf $history/examples"]
|
28 |
| - [invoke eval 0 "../bin/lux --html=validate --history $history/logs"] |
| 30 | + [invoke eval 0 "$${LUX_BIN}/lux --html=validate --history $history/logs"] |
29 | 31 |
|
30 | 32 | [shell multi]
|
31 | 33 | [progress multi]
|
|
40 | 42 | [progress run1]
|
41 | 43 | [invoke eval 0 "cp $run/src/success/success.lux $run/src/mix/worse.lux"]
|
42 | 44 | [invoke eval 0 "cp $run/src/fail/fail.lux $run/src/mix/better.lux"]
|
43 |
| - [invoke eval 0 "../bin/lux --progress=summary --timeout=5000 --log_dir=$run/logs/success1 --run=run1 --revision=rev1 --suite=success --html=validate $run/src/success"] |
44 |
| - [invoke eval 1 "../bin/lux --progress=summary --timeout=5000 --log_dir=$run/logs/fail1 --run=run1 --revision=rev1 --extend_run --suite=fail --html=validate $run/src/fail"] |
45 |
| - [invoke eval 1 "../bin/lux --progress=summary --timeout=5000 --log_dir=$run/logs/mix1 --run=run1 --revision=rev1 --extend_run --suite=mix --html=validate $run/src/mix"] |
| 45 | + [invoke eval 0 "$${LUX_BIN}/lux --progress=summary --timeout=5000 --log_dir=$run/logs/success1 --run=run1 --revision=rev1 --suite=success --html=validate $run/src/success"] |
| 46 | + [invoke eval 1 "$${LUX_BIN}/lux --progress=summary --timeout=5000 --log_dir=$run/logs/fail1 --run=run1 --revision=rev1 --extend_run --suite=fail --html=validate $run/src/fail"] |
| 47 | + [invoke eval 1 "$${LUX_BIN}/lux --progress=summary --timeout=5000 --log_dir=$run/logs/mix1 --run=run1 --revision=rev1 --extend_run --suite=mix --html=validate $run/src/mix"] |
46 | 48 |
|
47 | 49 | [progress run2]
|
48 | 50 | [invoke eval 0 "cp $run/src/fail/fail.lux $run/src/mix/worse.lux"]
|
49 | 51 | [invoke eval 0 "cp $run/src/success/success.lux $run/src/mix/better.lux"]
|
50 |
| - [invoke eval 0 "../bin/lux --progress=summary --timeout=5000 --log_dir=$run/logs/success2 --run=run2 --revision=rev2 --suite=success --html=validate $run/src/success"] |
51 |
| - [invoke eval 1 "../bin/lux --progress=summary --timeout=5000 --log_dir=$run/logs/fail2 --run=run2 --revision=rev2 --extend_run --suite=fail --html=validate $run/src/fail"] |
52 |
| - [invoke eval 1 "../bin/lux --progress=summary --timeout=5000 --log_dir=$run/logs/mix2 --run=run2 --revision=rev2 --extend_run --suite=mix --html=validate $run/src/mix"] |
| 52 | + [invoke eval 0 "$${LUX_BIN}/lux --progress=summary --timeout=5000 --log_dir=$run/logs/success2 --run=run2 --revision=rev2 --suite=success --html=validate $run/src/success"] |
| 53 | + [invoke eval 1 "$${LUX_BIN}/lux --progress=summary --timeout=5000 --log_dir=$run/logs/fail2 --run=run2 --revision=rev2 --extend_run --suite=fail --html=validate $run/src/fail"] |
| 54 | + [invoke eval 1 "$${LUX_BIN}/lux --progress=summary --timeout=5000 --log_dir=$run/logs/mix2 --run=run2 --revision=rev2 --extend_run --suite=mix --html=validate $run/src/mix"] |
53 | 55 |
|
54 | 56 | [progress history]
|
55 | 57 | [progress cd $PWD]
|
56 |
| - [progress \n../bin/lux --html=validate --history $run/logs] |
| 58 | + [progress \n$${LUX_BIN}/lux --html=validate --history $run/logs] |
57 | 59 | [progress \nopen file://$run/logs/lux_history.html\n]
|
58 |
| - [invoke eval 0 "../bin/lux --html=validate --history $run/logs"] |
| 60 | + [invoke eval 0 "$${LUX_BIN}/lux --html=validate --history $run/logs"] |
59 | 61 |
|
60 | 62 | #-success.lux|better.lux|No failing test cases
|
61 | 63 | -success.lux|No failing test cases
|
|
0 commit comments