]> rtime.felk.cvut.cz Git - frescor/fosa.git/commitdiff
OMK: FOSA tests compilation can be disabled in OMK configuration
authorsojkam <sojkam@35b4ef3e-fd22-0410-ab77-dab3279adceb>
Thu, 12 Feb 2009 16:20:41 +0000 (16:20 +0000)
committersojkam <sojkam@35b4ef3e-fd22-0410-ab77-dab3279adceb>
Thu, 12 Feb 2009 16:20:41 +0000 (16:20 +0000)
Either in config.target (in SVN) of in config.omk (local changes). The reason
is that some test can only be compiled for MARTE-x86 and not for MARTE-Linux.

git-svn-id: http://www.frescor.org/private/svn/frescor/fosa/trunk@1544 35b4ef3e-fd22-0410-ab77-dab3279adceb

src_marte_os/tests/test_clock_and_timers/Makefile.omk
src_marte_os/tests/test_group_clocks/Makefile.omk [new symlink]
src_marte_os/tests/test_platform_values/Makefile.omk [changed from file to symlink]

index a02e70f216c69912b4343ee2519b40ae8526879a..5b771b0d51bc617d2a1532f564831f0c616168b0 100644 (file)
@@ -1,8 +1,11 @@
+default_CONFIG = CONFIG_FOSA_MARTE_TEST_$(notdir $(SOURCES_DIR))=y
+
+ifeq ($(CONFIG_FRSH_TEST_$(notdir $(SOURCES_DIR))),y)
 test_PROGRAMS:=$(basename $(notdir $(wildcard $(SOURCES_DIR)/*.c)))
 
 $(foreach t,$(test_PROGRAMS),\
 $(eval $(t)_SOURCES = $(t).c)\
 $(eval $(t)_LIBS = fosa m)\
 )
-
+endif
 
diff --git a/src_marte_os/tests/test_group_clocks/Makefile.omk b/src_marte_os/tests/test_group_clocks/Makefile.omk
new file mode 120000 (symlink)
index 0000000..c85f658
--- /dev/null
@@ -0,0 +1 @@
+../test_clock_and_timers/Makefile.omk
\ No newline at end of file
deleted file mode 100644 (file)
index a02e70f216c69912b4343ee2519b40ae8526879a..0000000000000000000000000000000000000000
+++ /dev/null
@@ -1,8 +0,0 @@
-test_PROGRAMS:=$(basename $(notdir $(wildcard $(SOURCES_DIR)/*.c)))
-
-$(foreach t,$(test_PROGRAMS),\
-$(eval $(t)_SOURCES = $(t).c)\
-$(eval $(t)_LIBS = fosa m)\
-)
-
-
new file mode 120000 (symlink)
index 0000000000000000000000000000000000000000..c85f65859cdb815b9cba1e82e19dcca41e5e84a7
--- /dev/null
@@ -0,0 +1 @@
+../test_clock_and_timers/Makefile.omk
\ No newline at end of file