Remove unstable __FILE__ output from vmtrace logging

This commit is contained in:
Aaron Culliney 2014-11-29 13:28:34 -08:00
parent ad39463519
commit 4f0814ce42
2 changed files with 4 additions and 4 deletions

View File

@ -29,7 +29,7 @@
c__##func(ea, b); \
extern FILE *test_vm_fp; \
if (test_vm_fp && !vm_trace_is_ignored(ea)) { \
fprintf(test_vm_fp, "%04X w:%02X %s (%s:%d)\n", ea, b, __FUNCTION__, __FILE__, __LINE__); \
fprintf(test_vm_fp, "%04X w:%02X %s\n", ea, b, __FUNCTION__); \
fflush(test_vm_fp); \
} \
} \
@ -41,7 +41,7 @@
uint8_t b = c__##func(ea); \
extern FILE *test_vm_fp; \
if (test_vm_fp && !vm_trace_is_ignored(ea)) { \
fprintf(test_vm_fp, "%04X r:%02X %s (%s:%d)\n", ea, b, __FUNCTION__, __FILE__, __LINE__); \
fprintf(test_vm_fp, "%04X r:%02X %s\n", ea, b, __FUNCTION__); \
fflush(test_vm_fp); \
} \
return b; \

View File

@ -144,8 +144,8 @@ TEST test_boot_disk_cputrace() {
PASS();
}
#define EXPECTED_VM_TRACE_FILE_SIZE 3688453
#define EXPECTED_VM_TRACE_SHA "935DDADC7ED1F07A18A41DC5465C61B4078E6B09"
#define EXPECTED_VM_TRACE_FILE_SIZE 2352827
#define EXPECTED_VM_TRACE_SHA "D137B7D312A66F4F19E5846D1BBC56C2A53A8C3F"
TEST test_boot_disk_vmtrace() {
char *homedir = getenv("HOME");
char *disk = NULL;