Sami Vaarala
f6f2935c10
Add commented out allocator options
10 years ago
Sami Vaarala
fd79a95af1
Add logged/torture allocator support to cmdline
Enable alloc logging/torture support in 'duk' by default. This is only for
the Duktape repo 'duk' build, not for the dist version of it.
10 years ago
Sami Vaarala
8a18bef5d0
Non-zero exit code for runtests if tests fail
Known errors and testcases requiring special options don't cause a non-zero
exit code.
10 years ago
Sami Vaarala
5043b54a27
Coerce with duk_safe_to_string() in runtests
Previously used duk_to_string() which may cause an uncaught error when a
thrown value cannot be string coerced (e.g. an error which participates
in a prototype loop causes an error when toString() is attempted).
10 years ago
Sami Vaarala
a494c9857a
Add flushes to runtests.js C stdout
10 years ago
Sami Vaarala
e251656bfd
Allow testcase 'knownissue' to be a string
10 years ago
Sami Vaarala
9466d015d9
Runtests public API typing fix trivia
11 years ago
Sami Vaarala
9b6d119c85
fix runtests to omit errhandler_index
11 years ago
Sami Vaarala
9f6b0d376a
specialoptions and comment testcase metadata
11 years ago
Sami Vaarala
216a50bb5d
fix runtests to use the new -r option (instead of -m) with duk cmdline
11 years ago
Sami Vaarala
88edfb33b8
runtests: knownbug -> knownissue, fixme note on use strict
11 years ago
Sami Vaarala
6556f1a284
knownbug marker on failure lines
11 years ago
Sami Vaarala
858b6458c3
increase timeouts to support remote testcases (ssh) better
11 years ago
Sami Vaarala
7dbdc39f48
DUK_PROFILE related build etc trivia; Makefile not fully functional
11 years ago
Sami Vaarala
2e058fe712
add --test-sleep option to runtests, useful to run long tests on a laptop (use with --num-threads 1)
11 years ago
Sami Vaarala
caf2647904
fix src path in runtests
11 years ago
Sami Vaarala
8a749df423
runtests changes for api testcase running; pretty raw still
11 years ago
Sami Vaarala
53e76d0d5f
add package.json for runtests
11 years ago
Sami Vaarala
8af2ffc633
a bunch of duk_api.h -> duktape.h changes
11 years ago
Sami Vaarala
60096d4dba
api testcase 'header' file, prepended to each test
11 years ago
Sami Vaarala
50314b4f98
make engine header a oneliner to avoid testcase line number effects
12 years ago
Sami Vaarala
151c97dcb6
add global __engine__ into each engine prefix to allow testcases to special case engine specific behavior (e.g. skip a test which causes an infinite loop)
12 years ago
Sami Vaarala
20116eb62d
make runtests.js temp filenames more unique to allow simultaneous execution of multiple runs
12 years ago
Sami Vaarala
60fcd3ed62
fix diff-to-other src/dst order too
12 years ago
Sami Vaarala
ea04f4eeef
add separate timeouts for normal/slow and valgrind combinations, add execopts to result object
12 years ago
Sami Vaarala
f596ac4f7d
adjust runtests timeout based on slow test and valgrind flags
12 years ago
Sami Vaarala
40fbd6d091
change diff_expect source and target (more intuitive); change nodejs print() replacement to use process.stdout.write() instead of console.log()
12 years ago
Sami Vaarala
4233d0566c
add separators to testcase runner output
12 years ago
Sami Vaarala
b9844f2ca9
fixme note
12 years ago
Sami Vaarala
dcafdf2170
add prettyfied snippets to log file
12 years ago
Sami Vaarala
fe470cad7c
node-based test runner, replaces runtests.py
12 years ago