summaryrefslogtreecommitdiffstats
path: root/c/src/tests/psxtests/psxtests.am
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--c/src/tests/psxtests/psxtests.am23
1 files changed, 23 insertions, 0 deletions
diff --git a/c/src/tests/psxtests/psxtests.am b/c/src/tests/psxtests/psxtests.am
new file mode 100644
index 0000000000..15a8e28c9b
--- /dev/null
+++ b/c/src/tests/psxtests/psxtests.am
@@ -0,0 +1,23 @@
+project_bspdir=$(PROJECT_ROOT)/@RTEMS_BSP@
+
+$(project_bspdir)/tests:
+ @$(mkinstalldirs) $@
+
+$(project_bspdir)/tests/$(TEST)$(LIB_VARIANT).exe: $(PGM)
+ $(INSTALL_PROGRAM) $< $@
+
+$(project_bspdir)/tests/screens:
+ @$(mkinstalldirs) $@
+
+$(project_bspdir)/tests/screens/psxtests:
+ @$(mkinstalldirs) $@
+
+$(project_bspdir)/tests/screens/psxtests/$(TEST).scn: $(TEST).scn
+ $(INSTALL_DATA) $< $@
+
+TMPINSTALL_FILES += \
+$(project_bspdir)/tests \
+$(project_bspdir)/tests/$(TEST)$(LIB_VARIANT).exe \
+$(project_bspdir)/tests/screens \
+$(project_bspdir)/tests/screens/psxtests \
+$(project_bspdir)/tests/screens/psxtests/$(TEST).scn