Branch: Tag:

2015-12-10

2015-12-10 16:17:08 by Martin Nilsson <nilsson@fastmail.com>

Fix some of the more weird tests that leak error printouts.

3846:    mixed f (string p) {return ({global::p, p});}")()->f ("l");   ]], ({"g", "l"}))    - test_eval_error([[ -  compile_string (#" -  string pp = \"g\"; -  mixed f (string p) {return global::p;}"); + test_compile_error([[ +  string pp = "g"; +  mixed f (string p) {return global::p;}   ]])      test_equal([[
10341:   ]])      // <<<<<<< - test_eval_error( cpp("<<<<<<<") ) + test_any([[ +  master()->set_inhibit_compile_errors(1); +  int x = !!catch(cpp("<<<<<<<")); +  master()->set_inhibit_compile_errors(0); +  return x; + ]], 1)   test_compile_error([[   #if 0   <<<<<<<