Differential tests: every program runs on native ooRexx and on the
RVM (the ooRexx host, the JavaScript host, or both), and standard
output, standard error and the exit code must be the same. The full
description — what each suite checks, how to add a case, the deliberate
deviations, the census — is in ../doc/16-testing.md.
| Path | What |
|---|---|
check.sh |
The quick and the full check (runs the suites below in parallel) |
env.sh |
Common settings, sourced by every script |
e2e/e2e.sh, e2e/cases/ |
End-to-end tests of Classic Rexx (e2e-*.rex,
.expected, .expected-err) |
oo/oo-e2e.sh, oo/cases/ |
End-to-end tests of the object-oriented part (and the
.cls packages they require) |
ext/ext.sh, ext/cases/ |
External routines: search order, errors, EXIT, trace, packages |
cache/cache-test.sh |
The .rcode caches |
signal/signal.sh, signal/cases/ |
Ctrl-C: signals that are a HALT (not in check.sh) |
fuzz/ |
The oracles (oracle.rex, make-oracle.sh,
make-oracle-js.sh) and the Classic fuzzers
(fuzz-*-gen, fuzz-*-run.sh) |
fuzz/oo/ |
The OO fuzzers (Array, String methods, List, Set/Bag/Relation, Stem, MutableBuffer) |
debug/ |
Interactive trace: debug-run.sh with
cases/, and the fuzzer fuzz-debug.py |
ootest/ |
The census of the official ooRexx test suite
(census.sh), its accepted divergences
(accepted.py), the tools to read it, and the reference
census (census-js.tsv,
accepted-tests-js.tsv) |
The smoke test is in ../smoke/,
with smoke-select.py, which chooses its programs from these
suites.
On the PATH: ooRexx 5 (rexx), Node.js 22 or
later (node), Python 3, timeout and
mkfifo (coreutils), bc; svn
(Subversion) to export the ooRexx test suite for the census, and
curl for ootest-run.sh. The RVM must be in
bin/modules/rvm/ of the Rexx Parser (the scripts set
REXX_PATH to that bin/).
tests/check.sh quick # after any change
tests/check.sh quick -p rexxutil-,ctx- -t 'bif/TRUNC\.'
tests/check.sh full # closing a batch
tests/e2e/e2e.sh [rvm|js|both] [PATTERN]
tests/oo/oo-e2e.sh [PREFIX...] # e.g. conc- sem-
tests/ext/ext.sh rvm|js
tests/cache/cache-test.sh
tests/fuzz/fuzz-parse-run.sh rvm|js|ORACLEDIR [SEED...]
tests/fuzz/oo/fuzz-array-run.sh SEED N
tests/debug/debug-run.sh [rvm|js]
tests/ootest/census.sh SVNDIR OUT [PATTERN]
Environment variables (all optional):
| Variable | Default | Meaning |
|---|---|---|
RVM_DIR |
the parent of tests/ |
The RVM under test |
RVM_BIN |
two levels above RVM_DIR |
The Rexx Parser's bin/ (REXX_PATH) |
RVM_TESTS_TMP |
${TMPDIR:-/tmp}/rvm-tests |
Root of the work directories and logs |
RVM_TESTS_OUT |
$RVM_TESTS_TMP/oo |
Work directory of one oo-e2e.sh run |
RVM_OOTEST_DIR |
$RVM_TESTS_TMP/ootest-svn |
Export of the ooRexx test suite (check.sh exports it
when missing) |
RVM_CLOCK |
virtual |
The RVMs' clock in oo-e2e, the census and check.sh |
JOBS |
per script | Parallel cases in e2e.sh (8),
fuzz-trace-run.sh (4), the OO fuzzers (2) |
ENG, TMO, SKIP |
js, 300, none |
census.sh: the RVM, its timeout, the groups not
run |
After running ooTest groups (the census, ootest-run.sh),
stop the rxapi daemon (pkill -x rxapi) before
oo-e2e.sh; check.sh does it.
This file is part of the RVM, the Rexx Virtual Machine [See https://rexx.epbcn.com/rexx-parser/]. Copyright (c) 2026 Josep Maria Blasco. License: Apache License 2.0.