dm: test: Disable the fdt_offset test with livetree
authorSimon Glass <sjg@chromium.org>
Fri, 19 May 2017 02:09:44 +0000 (20:09 -0600)
committerSimon Glass <sjg@chromium.org>
Thu, 1 Jun 2017 13:03:14 +0000 (07:03 -0600)
We cannot run this test with livetree since it uses device tree offsets.
Mark it as flat tree only.

Signed-off-by: Simon Glass <sjg@chromium.org>
test/dm/test-fdt.c

index 3048a7b890c9ebc6c25ed4ba7b083fc27727731c..987a265ba90523b67cb7129168d6fb0cb73f70f4 100644 (file)
@@ -265,4 +265,5 @@ static int dm_test_fdt_offset(struct unit_test_state *uts)
 
        return 0;
 }
-DM_TEST(dm_test_fdt_offset, DM_TESTF_SCAN_PDATA | DM_TESTF_SCAN_FDT);
+DM_TEST(dm_test_fdt_offset,
+       DM_TESTF_SCAN_PDATA | DM_TESTF_SCAN_FDT | DM_TESTF_FLAT_TREE);