1
0
mirror of git://projects.qi-hardware.com/wernermisc.git synced 2024-11-15 12:27:11 +02:00

m1/perf/main.c: exit immediately on compilation error

This commit is contained in:
Werner Almesberger 2011-09-21 17:46:25 -03:00
parent 8f82a0e8d4
commit a19a196785

View File

@ -54,7 +54,8 @@ int main(int argc, char **argv)
fclose(file); fclose(file);
for (i = 0; i != loops; i++) for (i = 0; i != loops; i++)
patch_compile(buf, report); if (!patch_compile(buf, report))
return 1;
return 0; return 0;
} }