Skip to content

Commit

Permalink
make test output to STDERR
Browse files Browse the repository at this point in the history
  • Loading branch information
firodj committed Sep 15, 2016
1 parent 31a5b14 commit feb4d6d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/test_bbtrace.c
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ void test_bbtrace_formatinfo_module() {
exe.names.module_name = "notepad.exe";

actual = bbtrace_formatinfo_module(&exe);
dr_fprintf("%s\n", actual);
dr_fprintf(STDERR, "%s\n", actual);
}

void test_bbtrace_formatinfo_symbol() {
Expand All @@ -51,7 +51,7 @@ void test_bbtrace_formatinfo_symbol() {
sym.ordinal = 99;

actual = bbtrace_formatinfo_symbol(&sym, (app_pc)0x30f0, (app_pc)0x40b0);
dr_fprintf("%s\n", actual);
dr_fprintf(STDERR, "%s\n", actual);
}

void test_bbtrace_formatinfo_block() {
Expand All @@ -63,7 +63,7 @@ void test_bbtrace_formatinfo_block() {
*/

actual = bbtrace_formatinfo_block((app_pc)0x4000, (app_pc)0x3000, 12);
dr_fprintf("%s\n", actual);
dr_fprintf(STDERR, "%s\n", actual);
}

void test_instrlist_app_length(void *drcontext) {
Expand Down

0 comments on commit feb4d6d

Please sign in to comment.