From 79f7a3e1ea17cfdefc44f9350e092af027a9a26e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Parm=C3=A9nides=20GV?= Date: Tue, 26 Nov 2013 17:48:37 +0100 Subject: Tests can be run from cli. Command: cd tests && ./run.sh --- tests/ant.properties | 2 +- tests/build.xml | 92 ++++++++++++++++++++++++++++++++++++++++++++++++ tests/compile.sh | 1 + tests/project.properties | 2 +- tests/run.sh | 2 ++ 5 files changed, 97 insertions(+), 2 deletions(-) create mode 100644 tests/build.xml create mode 100755 tests/compile.sh create mode 100755 tests/run.sh (limited to 'tests') diff --git a/tests/ant.properties b/tests/ant.properties index a9718c82..16244024 100644 --- a/tests/ant.properties +++ b/tests/ant.properties @@ -15,4 +15,4 @@ # 'key.alias' for the name of the key to use. # The password will be asked during the build when you use the 'release' target. -tested.project.dir=/media/Datos/workspace/leap_android +tested.project.dir=.. diff --git a/tests/build.xml b/tests/build.xml new file mode 100644 index 00000000..7da0cf51 --- /dev/null +++ b/tests/build.xml @@ -0,0 +1,92 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/tests/compile.sh b/tests/compile.sh new file mode 100755 index 00000000..a6d3534a --- /dev/null +++ b/tests/compile.sh @@ -0,0 +1 @@ +android update test-project -m .. -p . diff --git a/tests/project.properties b/tests/project.properties index 0840b4a0..a3ee5ab6 100644 --- a/tests/project.properties +++ b/tests/project.properties @@ -11,4 +11,4 @@ #proguard.config=${sdk.dir}/tools/proguard/proguard-android.txt:proguard-project.txt # Project target. -target=android-15 +target=android-17 diff --git a/tests/run.sh b/tests/run.sh new file mode 100755 index 00000000..7705cd8f --- /dev/null +++ b/tests/run.sh @@ -0,0 +1,2 @@ +#!/bin/bash +ant test -- cgit v1.2.3