Closed GoogleCodeExporter closed 9 years ago
Thanks for the bug report, this is fixed in HEAD (but not yet pushed to the
web site).
Original comment by sgraham
on 29 Nov 2010 at 4:24
Original comment by sgraham
on 29 Nov 2010 at 4:44
Seems to return True... in the HEAD revision. I'm basing this off of
skulpt/doc/index.html. Is that wrong?
Original comment by carnioja...@gmail.com
on 29 Nov 2010 at 5:37
You can test via HEAD in doc/index.html, but the docs need to built (and
aren't automatically). You can build via "./m dist" (though there may be
dependencies to sort out to get that to work). That builds the
compiled/minimized version of Skulpt and copies it to the dist dir.
During dev, I run unit tests from the command line just by "./m". The code
for the unit tests is in test/run/*.py
Original comment by sgraham
on 29 Nov 2010 at 6:35
fyi... d8 complains/fails (might be that I have a newer build of it than you
do, or something) here:
-----
WANTED:
-----
NO_.SYMTAB_FILE
symtab: 256/259
Uncaught: "Error loading file", test/test.js line 209 column 18
var expect = read(name + ".py.real");
^
Is this some dependency problem?
Original comment by carnioja...@gmail.com
on 29 Nov 2010 at 7:24
Sorry, that's missing files.
The test data is generated by running real python on the tests via "./m
regentests". That runs python on all the tests in test/run/ and saves the
results. That normally gets checked in, but I forgot for those tests.
regentests needs to be run after adding new test cases.
Original comment by sgraham
on 29 Nov 2010 at 7:54
Original issue reported on code.google.com by
carnioja...@gmail.com
on 24 Nov 2010 at 2:29