tests: Add rtc-test (fix test regression)
PATCH 1/1 tests: Add rtc-test (fix test regression)
Commit 93e9eb6808c886f5f1c903b7ced1eed65de2ba39 added fdc-test, but accidentally removed rtc-test because check-qtest-i386-y was not enhanced but set twice.
This patch adds rtc-test again (and sorts both tests alphabetically).
--- tests/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
tests/Makefile +1 -1
@@ -18,8 +18,8 @@ check-block-$(CONFIG_POSIX) += tests/qemu-iotests-quick.sh # All QTests for now are POSIX-only, but the dependencies are # really in libqtest, not in the testcases themselves. -check-qtest-i386-y = tests/rtc-test$(EXESUF) check-qtest-i386-y = tests/fdc-test$(EXESUF) +check-qtest-i386-y += tests/rtc-test$(EXESUF) check-qtest-x86_64-y = $(check-qtest-i386-y) check-qtest-sparc-y = tests/m48t59-test$(EXESUF) check-qtest-sparc64-y = tests/m48t59-test$(EXESUF)
Signature · 1 line
1.7.10
Am 15.05.2012 18:19, schrieb Stefan Weil:
Quoted 7 lines
Commit
93e9eb6808c886f5f1c903b7ced1eed65de2ba39added fdc-test, but accidentally removed rtc-test because check-qtest-i386-y was not enhanced but set twice.This patch adds rtc-test again (and sorts both tests alphabetically).
Signed-off-by Stefan Weil <[email protected]>
I wonder though if it might be better to always just use += because especially an alphabetical order risks us introducing the same fault again.
Andreas
Quoted 18 lines
--- tests/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)tests/Makefile +1
-1@@ -18,8 +18,8 @@ check-block-$(CONFIG_POSIX) += tests/qemu-iotests-quick.sh # All QTests for now are POSIX-only, but the dependencies are # really in libqtest, not in the testcases themselves. -check-qtest-i386-y = tests/rtc-test$(EXESUF) check-qtest-i386-y = tests/fdc-test$(EXESUF) +check-qtest-i386-y += tests/rtc-test$(EXESUF) check-qtest-x86_64-y = $(check-qtest-i386-y) check-qtest-sparc-y = tests/m48t59-test$(EXESUF) check-qtest-sparc64-y = tests/m48t59-test$(EXESUF)
Signature · 2 lines
SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 Nürnberg, Germany GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer; HRB 16746 AG Nürnberg
Am 16.05.2012 06:07, schrieb Andreas Färber:
Quoted 5 lines
Am 15.05.2012 18:19, schrieb Stefan Weil:
Quoted 4 lines
Commit
93e9eb6808c886f5f1c903b7ced1eed65de2ba39added fdc-test, but accidentally removed rtc-test because check-qtest-i386-y was not enhanced but set twice.
Quoted 8 lines
Quoted 3 lines
This patch adds rtc-test again (and sorts both tests alphabetically).
Signed-off-by Stefan Weil <[email protected]>Reviewed-by Andreas Färber <[email protected]>I wonder though if it might be better to always just use += because especially an alphabetical order risks us introducing the same fault again.
Yes, I think that would be better.
Kevin
Blue Swirl
AppliedThanks, applied.
Quoted 29 lines · Stefan Weil
Commit
93e9eb6808c886f5f1c903b7ced1eed65de2ba39added fdc-test, but accidentally removed rtc-test because check-qtest-i386-y was not enhanced but set twice.This patch adds rtc-test again (and sorts both tests alphabetically).
Signed-off-by Stefan Weil <[email protected]>---
tests/Makefile | 2 +-1 file changed, 1 insertion(+), 1 deletion(-)tests/Makefile +1
-2@@ -18,8 +18,8 @@ check-block-$(CONFIG_POSIX) += tests/qemu-iotests-quick.sh # All QTests for now are POSIX-only, but the dependencies are # really in libqtest, not in the testcases themselves. -check-qtest-i386-y = tests/rtc-test$(EXESUF) check-qtest-i386-y = tests/fdc-test$(EXESUF) +check-qtest-i386-y += tests/rtc-test$(EXESUF) check-qtest-x86_64-y = $(check-qtest-i386-y) check-qtest-sparc-y = tests/m48t59-test$(EXESUF) check-qtest-sparc64-y = tests/m48t59-test$(EXESUF) --1.7.10