Skip to content

Instantly share code, notes, and snippets.

/*
* This should fail with RUN-ERROR due to running out of (stack) memory.
* Note that in Java the stack size is set separately from the total
* amount of memory available, using the javac option -Xss in the
* relevant Java compile script (the default is 64MB currently).
* We also try to circumvent this stack size limit
*
* @EXPECTED_RESULTS@: RUN-ERROR
*/
ascendingphoto - photos-opt.ctd:
./checktestdata-2018-04-22 real 5.732, user 5.592, sys 0.088
./checktestdata-2018-11-12 real 4.930, user 4.728, sys 0.104
./checktestdata real 4.853, user 4.688, sys 0.104
ascendingphoto - photos.ctd:
./checktestdata-2018-04-22 real 12.846, user 12.432, sys 0.356
./checktestdata-2018-11-12 real 9.862, user 9.516, sys 0.296
./checktestdata real 9.788, user 9.488, sys 0.248
boss - 1-100.ctd:
./checktestdata-2018-04-22 real 0.042, user 0.000, sys 0.004