Confirmed users
1
edit
m (→Compare) |
(Correct the test instructions to match the current location of the js shell) |
||
| Line 41: | Line 41: | ||
It builds. Hurray. Time to run the tests to check you haven't broken anything. | It builds. Hurray. Time to run the tests to check you haven't broken anything. | ||
jit-test/jit_test.py build_DBG.OBJ/js | jit-test/jit_test.py build_DBG.OBJ/dist/bin/js | ||
(The location of the shell has changed, it used to be build_DBG.OBJ/js) | |||
The trace tests are pretty quick, and should give you an idea if you've gotten something wrong. Assuming nothing goes wrong, try the ref-tests: | The trace tests are pretty quick, and should give you an idea if you've gotten something wrong. Assuming nothing goes wrong, try the ref-tests: | ||
tests/jstests.py build_DBG.OBJ/js --args="-m -n" | tests/jstests.py build_DBG.OBJ/dist/bin/js --args="-m -n" | ||
==== Benchmark your changes ==== | ==== Benchmark your changes ==== | ||
| Line 56: | Line 57: | ||
cd SunSpider | cd SunSpider | ||
./sunspider --args="-m -n" --shell=../build_DBG.OBJ/js --run=30 --suite=sunspider-0.9.1 | ./sunspider --args="-m -n" --shell=../build_DBG.OBJ/dist/bin/js --run=30 --suite=sunspider-0.9.1 | ||
cd .. | cd .. | ||