summaryrefslogtreecommitdiff
path: root/smoketestoo_native/makefile.mk
diff options
context:
space:
mode:
authorPetr Mladek <pmladek@suse.cz>2011-11-25 19:30:08 +0100
committerPetr Mladek <pmladek@suse.cz>2011-12-01 21:16:47 +0100
commit8c478c911033243df90ba290b32732a1fd70130e (patch)
tree98f031b9428103aca8dff385681c0a633a41d382 /smoketestoo_native/makefile.mk
parent86adb5cacb4fe3e7fb869299447da5876f0da30d (diff)
create installation set for tests
+ it currently includes just the smoketest and is available only for Linux + the side effect is that it builds the smoketest before instsetoo_native + it runs it only during dev-install when the variable RUN_SMOKETEST == YES
Diffstat (limited to 'smoketestoo_native/makefile.mk')
-rwxr-xr-xsmoketestoo_native/makefile.mk4
1 files changed, 3 insertions, 1 deletions
diff --git a/smoketestoo_native/makefile.mk b/smoketestoo_native/makefile.mk
index eceea553b45f..333d646dcab3 100755
--- a/smoketestoo_native/makefile.mk
+++ b/smoketestoo_native/makefile.mk
@@ -49,10 +49,12 @@ DEF1NAME = $(SHL1TARGET)
.INCLUDE: target.mk
.INCLUDE: installationtest.mk
-.IF "$(depend)" == ""
+.IF "$(depend)" == "" && "$(RUN_SMOKETEST)" == "YES"
# disable smoketest when cross-compiling for now; we can use wine at some stage (?)
.IF "$(CROSS_COMPILING)" != "YES"
ALLTAR : cpptest
+.ELSE
+ALLTAR :
.END
.END