Sami Vaarala
228525c2cd
Use 'ECMAScript' spelling in misc places
7 years ago
Christopher Hiller
9514380bd6
fix unlinkSync call in runtests.js
7 years ago
Sami Vaarala
876274d562
Runtests trivia
7 years ago
Sami Vaarala
a9b32837b8
Runtests _POSIX_C_SOURCE fix
8 years ago
Sami Vaarala
748c2630b7
Remove -Werrors for apitest
8 years ago
Sami Vaarala
5a70d3a3ed
Add -lpthread support for API tests§
8 years ago
Sami Vaarala
827183afab
Remove DUK_OPT_xxx support from tooling etc
Also some genconfig.py and configure.py improvements.
8 years ago
Sami Vaarala
84b31e9644
Runtests fix for print/alert removal
9 years ago
Sami Vaarala
dc522f213e
Add -Wdeclaration-after-statement to runtests
9 years ago
Sami Vaarala
01dfa36565
Runtests fix for duk_safe_call() udata change
9 years ago
Sami Vaarala
ea66c44814
Use SIGKILL for runtests timeout
9 years ago
Sami Vaarala
d9efe29ac0
Uncomment verbose logging
9 years ago
Sami Vaarala
94268acf9a
Fix suffix handling
9 years ago
Sami Vaarala
9d13222e6d
Remove /tmp assumption from runtests.js
Use 'tmp' package for auto-deleting temporary filenames. This should be
portable to e.g. Windows.
9 years ago
Sami Vaarala
68de23f247
Runtests workaround for Emduk trailing line
Trailing line contains a space and a newline (0x20 0x0a), add a hack
runtests option to strip that.
9 years ago
Sami Vaarala
62a99981bf
Skip 'skip=true' testcases entirely
Without this fix, runtests will run execution timeout testcases which always
take a lot of time to timeout.
10 years ago
Sami Vaarala
f436881bfd
Fix testcase refs to new directories
9 years ago
Sami Vaarala
0d8f35c363
Remove runtests memory restriction, buffer tests
10 years ago
Sami Vaarala
a286f1442a
Use yaml known issues in makefile, scripts, etc
10 years ago
Sami Vaarala
f88e46c45d
Matrix test: more compiler, archs, dialects, opts
- Add -m32, -mx32
- Support parallel runs by dynamic temp names (still pretty hacky)
- Add more compilers and compiler versions
- Add more dialects
- Add more optimization levels
There are some matrix test failures with older compilers, especially
clang/llvm-gcc with -m32 (same double union failure as in FreeBSD 10
clang 3.3 -m32).
10 years ago
Sami Vaarala
51106a8b15
Add --known-issues option to runtests and Makefile
"knownissue" and "specialoptions" are now parsed from an external JSON
file.
10 years ago
Sami Vaarala
155c590a8a
Add prep_test.py support to runtests.js
Also add option descriptions.
10 years ago
Sami Vaarala
0408be7035
Runtests.js whitespace (tab) fixes
10 years ago
Sami Vaarala
36a8de8976
Add --no-timeout=true to runtests.js
Useful for GC torture testing which takes a very long time.
10 years ago
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