pm-qa: export variables and copy switch file in outdir
- Export switch variables from a script file
- Update Android.mk to copy the switch file to out directory. Currently
switch file is missing in android.
Signed-off-by: Sanjay Singh Rawat <sanjay.rawat@linaro.org>
diff --git a/include/functions.sh b/include/functions.sh
index fa9a370..874d2d2 100644
--- a/include/functions.sh
+++ b/include/functions.sh
@@ -23,7 +23,7 @@
# - initial API and implementation
#
-source ../Switches
+source ../Switches.sh
CPU_PATH="/sys/devices/system/cpu"
TEST_NAME=$(basename ${0%.sh})