aboutsummaryrefslogtreecommitdiffstats
path: root/fpga_interchange/examples
diff options
context:
space:
mode:
Diffstat (limited to 'fpga_interchange/examples')
-rw-r--r--fpga_interchange/examples/chipdb.cmake5
-rw-r--r--fpga_interchange/examples/tests.cmake1
2 files changed, 5 insertions, 1 deletions
diff --git a/fpga_interchange/examples/chipdb.cmake b/fpga_interchange/examples/chipdb.cmake
index 7b080d9c..60814845 100644
--- a/fpga_interchange/examples/chipdb.cmake
+++ b/fpga_interchange/examples/chipdb.cmake
@@ -367,6 +367,9 @@ function(generate_chipdb)
${CMAKE_CURRENT_SOURCE_DIR}
)
-add_dependencies(all-${family}-archcheck-tests chipdb-${device}-bin-check-test-data chipdb-${device}-bin-check)
+ add_dependencies(all-${family}-archcheck-tests chipdb-${device}-bin-check-test-data chipdb-${device}-bin-check)
+
+ # All tests targets for this device are added to this target
+ add_custom_target(all-${device}-tests)
endfunction()
diff --git a/fpga_interchange/examples/tests.cmake b/fpga_interchange/examples/tests.cmake
index 34d7f3f1..115b4a36 100644
--- a/fpga_interchange/examples/tests.cmake
+++ b/fpga_interchange/examples/tests.cmake
@@ -262,6 +262,7 @@ function(add_interchange_test)
add_custom_target(test-${family}-${name}-dcp DEPENDS ${dcp})
add_dependencies(all-${family}-tests test-${family}-${name}-dcp)
+ add_dependencies(all-${device}-tests test-${family}-${name}-dcp)
endfunction()
function(add_interchange_group_test)