run-file () { local spec_name=$1; shift; local spec_file=spec/$spec_name.test.sh; local suite; suite=$(test/sh_spec.py --print-spec-suite $spec_file); local spec_subdir; case $suite in osh) spec_subdir='osh-cpp' ;; ysh) spec_subdir='ysh-cpp' ;; *) die "Invalid suite $suite" ;; esac; local base_dir=_tmp/spec/$spec_subdir; mkdir -v -p $base_dir; sh-spec $spec_file --timeout 10 --oils-bin-dir $PWD/bin --oils-cpp-bin-dir $REPO_ROOT/_bin/cxx-asan --tsv-output $base_dir/${spec_name}.tsv "$@" }
spec test index / oilshell.org
status | ysh | ysh-cpp | |
FAIL | 3 | 3 | |
total | 3 | 3 | |
case | ysh | ysh-cpp | description |
0 | FAIL | FAIL | JSON func on top of proc |
details | details | ||
1 | FAIL | FAIL | QTT func on top of proc |
details | details | ||
2 | FAIL | FAIL | QTT func on top of wok |
details | details |
0 passed, 0 OK, 0 not implemented, 0 BUG, 3 failed, 0 timeouts, 0 cases skipped 3 failed under osh
ysh | 0 JSON func on top of proc [ysh stdout] Expected 'TODO\nresult = 3\n', got 'result = 3\n' stdout: result = 3stderr: (List) [1, 2] |
ysh-cpp | 0 JSON func on top of proc [ysh-cpp stdout] Expected 'TODO\nresult = 3\n', got 'result = 3\n' stdout: result = 3stderr: (List) [1, 2] |
ysh | 1 QTT func on top of proc [ysh status] Expected 0, got 2 stdout: stderr: const result = _row->x + _row->y ^~~~~ [ stdin ]:9: const can't be inside proc or func. Use var instead. |
ysh-cpp | 1 QTT func on top of proc [ysh-cpp status] Expected 0, got 2 stdout: stderr: const result = _row->x + _row->y ^~~~~ [ stdin ]:9: const can't be inside proc or func. Use var instead. |
ysh | 2 QTT func on top of wok [ysh status] Expected 0, got 1 stdout: stderr: wok foo { ^ [ stdin ]:1: fatal: 'wok' appears to be external. External commands don't accept typed args (OILS-ERR-200) |
ysh-cpp | 2 QTT func on top of wok [ysh-cpp status] Expected 0, got 1 stdout: stderr: wok foo { ^ [ stdin ]:1: fatal: 'wok' appears to be external. External commands don't accept typed args (OILS-ERR-200) |