diff options
-rw-r--r-- | Makefile | 18 | ||||
-rwxr-xr-x | linaro-android-kernel-tests.sh | 9 | ||||
-rw-r--r-- | logger/Makefile | 8 |
3 files changed, 34 insertions, 1 deletions
diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..06f5f71 --- /dev/null +++ b/Makefile @@ -0,0 +1,18 @@ + +DIRS = alarmdevtest ashmemtest-basic ashmemtest-expanded logger #sync-basic does not build atm +CLEANDIRS = $(foreach dir,$(DIRS),clean-$(dir)) + +.PHONY: all clean $(DIRS) $(CLEANDIRS) + +all: $(DIRS) +$(DIRS): + $(MAKE) -C $@ + +clean: $(CLEANDIRS) +$(CLEANDIRS): + $(MAKE) -C $(@:clean-%=%) clean + +help: + @echo 'targets:' + @echo ' all: builds all tests' + @echo ' clean: cleans all generatd files' diff --git a/linaro-android-kernel-tests.sh b/linaro-android-kernel-tests.sh index 04aabb1..b88a219 100755 --- a/linaro-android-kernel-tests.sh +++ b/linaro-android-kernel-tests.sh @@ -65,6 +65,11 @@ run_binder_test() { bindertest.sh } +run_sync_test() { + echo "Running sync test." + sync-basic +} + run_ashmemtest @@ -74,4 +79,6 @@ run_alarm_dev_test run_logger_test -run_binder_test
\ No newline at end of file +run_binder_test + +run_sync_test diff --git a/logger/Makefile b/logger/Makefile new file mode 100644 index 0000000..1849c91 --- /dev/null +++ b/logger/Makefile @@ -0,0 +1,8 @@ +CFLAGS = -O2 -g +CFLAGS += -DUBUNTU_LOGGER + +logger-dev-test: logger-dev-test.c + $(CC) $(CFLAGS) -o $@ $< + +clean: + $(RM) logger-dev-test |