archives

« Bugzilla Issues Index

#574 — test262.py should handle $INCLUDE


test262.py, the command line runner for the test suite, currently doesn't look at the $INCLUDE statements in source files to determine which files to include. Instead it includes sta.js, which has copies of the contents of several other include files, and a select few others.

It would be better to let the test cases drive via $INCLUDE which files to include. It might make sense though to merge some of the include files, such as the math related ones.


Dan, please investigate this.


Candidate fix here:

https://github.com/smikes/test262/commit/7e07cc138d043ffdd0e6730d51d83914dfe6958f#diff-6fefc8237a5115257bd5a6b1f3014801R253


Resolved by PR #48 - https://github.com/tc39/test262/pull/48