Skip to content

Commit

Permalink
hw/test: Make tests quieter
Browse files Browse the repository at this point in the history
The physmap tests prints a few hundred lines of:

Assigning BAR [8] type:01 index:0 0x0000200000000000 for 0x0000034000000000
Assigning BAR [8] type:02 index:5 0x0000234000000000 for 0x0000002000000000

Make it not do that.

Signed-off-by: Oliver O'Halloran <oohall@gmail.com>
  • Loading branch information
oohal committed Nov 14, 2019
1 parent 46fac46 commit 9e87ef7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions hw/test/Makefile.check
Expand Up @@ -15,13 +15,13 @@ $(HW_TEST:%=%-gcov-run) : %-run: %
$(call QTEST, TEST-COVERAGE ,$< , $<)

$(HW_TEST:%=%-check) : %-check: %
$(call Q, RUN-TEST ,$(VALGRIND) $<, $<)
$(call QTEST, RUN-TEST ,$(VALGRIND) $<, $<)

$(HW_TEST) : % : %.c hw/phys-map.o
$(call Q, HOSTCC ,$(HOSTCC) $(HOSTCFLAGS) -O0 -g -I include -I . -o $@ $<, $<)

$(HW_TEST:%=%-gcov): %-gcov : %.c %
$(call Q, HOSTCC ,$(HOSTCC) $(HOSTCFLAGS) $(HOSTGCOVCFLAGS) -I include -I . -lgcov -o $@ $<, $<)
$(call QTEST, HOSTCC ,$(HOSTCC) $(HOSTCFLAGS) $(HOSTGCOVCFLAGS) -I include -I . -lgcov -o $@ $<, $<)

clean: hw-clean

Expand Down

0 comments on commit 9e87ef7

Please sign in to comment.