additional sauer tests+fixes
This commit is contained in:
Родитель
7e3adf52f1
Коммит
8b8c08a9ef
|
@ -84,6 +84,14 @@ var Snippets = {
|
|||
__assert_fail: function(condition, file, line) {
|
||||
throw 'Assertion failed: ' + Pointer_stringify(condition);//JSON.stringify(arguments)//condition;
|
||||
},
|
||||
|
||||
// Threading stuff LLVM adds sometimes
|
||||
__cxa_guard_acquire: function() {
|
||||
return 0;
|
||||
},
|
||||
__cxa_guard_release: function() {
|
||||
return 0;
|
||||
},
|
||||
};
|
||||
|
||||
// Aliases
|
||||
|
|
|
@ -737,7 +737,7 @@ class T(unittest.TestCase):
|
|||
# used, see Mozilla bug 593659.
|
||||
assert PARSER_ENGINE != SPIDERMONKEY_ENGINE
|
||||
# XXX RELOOP = 1 either is very very slow, or nonfinishing
|
||||
self.do_test(path_from_root(['tests', 'sauer']), '*\nTemp is 33\n9\n5\n*', main_file='command.cpp', emscripten_settings='{"RELOOP": 0}')
|
||||
self.do_test(path_from_root(['tests', 'sauer']), '*\nTemp is 33\n9\n5\nhello, everyone\n*', main_file='command.cpp', emscripten_settings='{"RELOOP": 0}')
|
||||
|
||||
if __name__ == '__main__':
|
||||
if DEBUG: print "LLVM_GCC:", LLVM_GCC
|
||||
|
|
|
@ -1418,6 +1418,8 @@ int main()
|
|||
execute("push x 11");
|
||||
execute("pop x");
|
||||
execute("echo $x");
|
||||
execute("greet = [ echo hello, $arg1 ]");
|
||||
execute("greet everyone");
|
||||
printf("*\n");
|
||||
return 0;
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче