printf ("%s\n", programs[i]->name);
orc_test_compare_output_full (programs[i], 0);
cres = orc_program_compile (programs[i]);
- if (cres != ORC_COMPILE_RESULT_OK) {
+ if (ORC_COMPILE_RESULT_IS_FATAL (cres)) {
fprintf (stderr, "compile error: %d\n", cres);
error = TRUE;
}
printf ("%s\n", programs[i]->name);
orc_test_compare_output_full (programs[i], 0);
cres = orc_program_compile (programs[i]);
- if (cres != ORC_COMPILE_RESULT_OK) {
+ if (ORC_COMPILE_RESULT_IS_FATAL (cres)) {
fprintf (stderr, "compile error: %d\n", cres);
error = TRUE;
}