"-c %s -o %s", source_filename, obj_filename);
ret = system (cmd);
if (ret != 0) {
- ORC_ERROR ("gcc failed");
- printf("%s\n", orc_program_get_asm_code (p));
- return ORC_TEST_FAILED;
+ ORC_ERROR ("arm gcc failed");
+ return ORC_TEST_INDETERMINATE;
}
sprintf (cmd, PREFIX "objdump -dr %s >%s", obj_filename, dis_filename);
ret = system (cmd);
if (ret != 0) {
ORC_ERROR ("objdump failed");
- return ORC_TEST_FAILED;
+ return ORC_TEST_INDETERMINATE;
}
sprintf (cmd, PREFIX "objcopy -I binary "
ret = system (cmd);
if (ret != 0) {
printf("objcopy failed\n");
- return ORC_TEST_FAILED;
+ return ORC_TEST_INDETERMINATE;
}
sprintf (cmd, PREFIX "objdump -Dr %s >%s", obj_filename, dump_dis_filename);
ret = system (cmd);
if (ret != 0) {
printf("objdump failed\n");
- return ORC_TEST_FAILED;
+ return ORC_TEST_INDETERMINATE;
}
sprintf (cmd, "diff -u %s %s", dis_filename, dump_dis_filename);
if (ret != 0) {
ORC_ERROR ("compiler failed");
//printf("%s\n", orc_program_get_asm_code (p));
- return ORC_TEST_FAILED;
+ return ORC_TEST_INDETERMINATE;
}
sprintf (cmd, C64X_PREFIX "dis6x %s >%s", obj_filename, dis_filename);
ret = system (cmd);
if (ret != 0) {
ORC_ERROR ("objdump failed");
- return ORC_TEST_FAILED;
+ return ORC_TEST_INDETERMINATE;
}
#if 0