]> git.proxmox.com Git - mirror_qemu.git/commitdiff
tests/qtest: Make npcm7xx_timer-test conditional on CONFIG_NPCM7XX
authorHavard Skinnemoen <hskinnemoen@google.com>
Fri, 23 Oct 2020 21:06:32 +0000 (14:06 -0700)
committerThomas Huth <thuth@redhat.com>
Sat, 24 Oct 2020 05:23:19 +0000 (07:23 +0200)
This test won't work if qemu was compiled without CONFIG_NPCM7XX, as
pointed out by Thomas Huth on a different patch.

Signed-off-by: Havard Skinnemoen <hskinnemoen@google.com>
Message-Id: <20201023210637.351238-2-hskinnemoen@google.com>
Signed-off-by: Thomas Huth <thuth@redhat.com>
tests/qtest/meson.build

index 28d4068718e66759ccaf1fbf8eea622907ac9c09..7e0ecaa2c54a7063fdd07f7ff36c8a026b2ed5d6 100644 (file)
@@ -133,12 +133,13 @@ qtests_sparc64 = \
   (config_all_devices.has_key('CONFIG_ISA_TESTDEV') ? ['endianness-test'] : []) +            \
   ['prom-env-test', 'boot-serial-test']
 
+qtests_npcm7xx = ['npcm7xx_timer-test']
 qtests_arm = \
   (config_all_devices.has_key('CONFIG_PFLASH_CFI02') ? ['pflash-cfi02-test'] : []) +         \
+  (config_all_devices.has_key('CONFIG_NPCM7XX') ? qtests_npcm7xx : []) + \
   ['arm-cpu-features',
    'microbit-test',
    'm25p80-test',
-   'npcm7xx_timer-test',
    'test-arm-mptimer',
    'boot-serial-test',
    'hexloader-test']