diff options
author | root <root@vps-1149246-19532.manage.myhosting.com> | 2013-12-20 09:17:26 -0500 |
---|---|---|
committer | root <root@vps-1149246-19532.manage.myhosting.com> | 2013-12-20 10:41:38 -0500 |
commit | 3f805e093bfd88c6516a3d61e50311587c58712f (patch) | |
tree | 73e90e5be521de685e5fdbcf93715556cce65f10 |
Signed-off-by: root <root@vps-1149246-19532.manage.myhosting.com>
-rw-r--r-- | .repo/manifests/0001-Add-linaro-specific-bits-to-build-AOSP-master.patch | 68 | ||||
-rwxr-xr-x | apply-manifest-patch.sh | 10 | ||||
-rwxr-xr-x | apply-patch.sh | 12 | ||||
-rw-r--r-- | build/build.git-1.patch_notneeded | 45 | ||||
-rw-r--r-- | build/build.git-2.patch | 29 | ||||
-rw-r--r-- | build/build.git-3.patch | 31 | ||||
-rw-r--r-- | build/build.git-4.patch_notneeded | 60 | ||||
-rw-r--r-- | frameworks/base/base.git-1.patch | 30 | ||||
-rw-r--r-- | frameworks/base/base.git-2.patch | 36 | ||||
-rw-r--r-- | frameworks/base/base.git-3.patch | 29 | ||||
-rw-r--r-- | frameworks/native/native.git-1.patch | 49 | ||||
-rw-r--r-- | frameworks/native/native.git-2.patch | 52 | ||||
-rw-r--r-- | frameworks/native/native.git-3.patch | 45 | ||||
-rw-r--r-- | frameworks/native/native.git-4.patch | 102 | ||||
-rw-r--r-- | frameworks/native/native.git-5.patch | 33 | ||||
-rw-r--r-- | hardware/libhardware/libhardware.git-1.patch | 30 | ||||
-rw-r--r-- | hardware/libhardware/libhardware.git-2.patch | 40 | ||||
-rw-r--r-- | packages/apps/Mms/Mms.git-1.patch_notneeded | 57 | ||||
-rw-r--r-- | system/core/core.git-1.patch | 26 | ||||
-rw-r--r-- | system/extras/extras.git-1.patch | 149 |
20 files changed, 933 insertions, 0 deletions
diff --git a/.repo/manifests/0001-Add-linaro-specific-bits-to-build-AOSP-master.patch b/.repo/manifests/0001-Add-linaro-specific-bits-to-build-AOSP-master.patch new file mode 100644 index 0000000..e9d20f8 --- /dev/null +++ b/.repo/manifests/0001-Add-linaro-specific-bits-to-build-AOSP-master.patch @@ -0,0 +1,68 @@ +From fb2d3448cbd3c5ec32280c03d9376e5385c562f6 Mon Sep 17 00:00:00 2001 +From: Vishal Bhoj <vishal.bhoj@linaro.org> +Date: Thu, 19 Dec 2013 09:53:23 +0530 +Subject: [PATCH] Add linaro specific bits to build AOSP master + +Change-Id: Ia40c7c8dfcb7b1d59e3291f99a8396e7b3cd0720 +Signed-off-by: Vishal Bhoj <vishal.bhoj@linaro.org> +--- + default.xml | 39 +++++++++++++++++++++++++++++++++++++++ + 1 file changed, 39 insertions(+) + +diff --git a/default.xml b/default.xml +index d1a4503..8363de0 100644 +--- a/default.xml ++++ b/default.xml +@@ -4,10 +4,49 @@ + <remote name="aosp" + fetch=".." + review="https://android-review.googlesource.com/" /> ++ <remote name="big-little-switcher-private" ++ fetch="ssh://linaro-big-little-switcher-bot@linaro-private.git.linaro.org/srv/linaro-private.git.linaro.org/" /> ++ <remote name="linaro" ++ fetch="git://android.git.linaro.org/" ++ review="review.android.git.linaro.org" /> ++ <remote name="linaro-other" ++ fetch="git://git.linaro.org/" /> + <default revision="master" + remote="aosp" + sync-j="4" /> + ++<!-- Linaro additions --> ++ <project path="packages/apps/0xbench" name="platform/packages/apps/0xbench" remote="linaro" revision="linaro-master" /> ++ <project name="people/jesse.barker/glmark2" path="packages/apps/glmark2" remote="linaro-other" revision="master" groups="common" /> ++ <project path="external/busybox" name="platform/external/busybox" remote="linaro" revision="linaro-1.21" /> ++ <project path="packages/apps/DisableSuspend" name="platform/packages/apps/DisableSuspend" revision="master" remote="linaro" /> ++ <project path="gcc-linaro-aarch64-linux-gnu" name="platform/prebuilts/gcc/linux-x86/arm/aarch64-linux-android-linaro" groups="linux,arm" revision="refs/tags/gcc-linaro-4.8-2013.11" remote="linaro" /> ++ <!-- libnl is needed by powertop --> ++ <!--project path="external/libnl" name="platform/external/libnl" revision="linaro" remote="linaro" /--> ++ <!--project path="external/powertop" name="tools/powertop-2.0" revision="linaro-2012.12" remote="linaro-other" /--> ++ <project path="fvp-pre-boot" name="people/yongqin.liu/public/prebuilts/arm-trusted-firmware" revision="master" remote="linaro-other" /> ++ ++ <!-- Non-AOSP bits --> ++ <project path="kernel/linaro/juice" name="kernel/juice.git" revision="linux-linaro-juice-aarch64" remote="linaro" /> ++ <!-- project path="kernel" name="kernel/linux-topics" revision="juice-m1-20130123.0" /--> ++ <project path="device/linaro/vexpress" name="device/linaro/vexpress" revision="linaro-kk" remote="linaro" /> ++ <project path="u-boot" name="people/tixy/u-boot" revision="vexpress-hacks" remote="linaro-other" /> ++ <project path="uefi" name="arm/uefi/uefi" revision="master" remote="linaro-other" /> ++ <project path="boot-wrapper" name="people/pfefferz/boot-wrapper-aarch64" revision="master" remote="linaro" /> ++ <project path="test/linaro/biglittle/sched_tests" name="bL_tests/sched_tests" revision="master" remote="big-little-switcher-private"/> ++ <project path="test/linaro/biglittle/core" name="bL_tests/core-tests" revision="master" remote="big-little-switcher-private"/> ++ <project path="external/iozone" name="platform/external/iozone" revision="linaro_android" remote="linaro" /> ++ <project path="external/memtester" name="platform/external/memtester" revision="linaro_android" remote="linaro" /> ++ <!--project path="external/stressapptest" name="platform/external/stressapptest" revision="linaro_android" remote="linaro" /--> ++ <project path="external/stress" name="platform/external/stress" revision="linaro_android" remote="linaro" /> ++ <project path="external/ncurses" name="platform/external/ncurses" revision="linaro" remote="linaro" /> ++ <project path="external/htop" name="platform/external/htop" revision="linaro_android" remote="linaro" /> ++ <project path="external/cyclictest" name="platform/external/cyclictest" revision="linaro_android" remote="linaro" /> ++ <project path="external/sysbench" name="platform/external/sysbench" revision="linaro_android" remote="linaro" /> ++ <!--project path="external/linaro-android-kernel-test" name="android/linaro-android-kernel-test" revision="linaro-kk" remote="big-little-switcher-private" /--> ++ <project path="external/pm-qa" name="platform/external/pm-qa" revision="android" remote="linaro" /> ++ <project path="device/linaro/common" name="device/linaro/common" revision="linaro-kk" groups="common" remote="linaro" /> ++ + <project path="build" name="platform/build" groups="pdk" > + <copyfile src="core/root.mk" dest="Makefile" /> + </project> +-- +1.8.5 + diff --git a/apply-manifest-patch.sh b/apply-manifest-patch.sh new file mode 100755 index 0000000..a0ea92b --- /dev/null +++ b/apply-manifest-patch.sh @@ -0,0 +1,10 @@ +MANIFEST_DIR="./.repo/manifests" +PATCHES=`find $MANIFEST_DIR -iname *.patch | sort` +export PATCH_DIR=$PWD +# Apply all the patches +for patch in $PATCHES; +do + cd ../.repo/manifests; + echo "Applying Patch in $PWD"; + git am $PATCH_DIR/$patch;cd -; +done diff --git a/apply-patch.sh b/apply-patch.sh new file mode 100755 index 0000000..4970bf3 --- /dev/null +++ b/apply-patch.sh @@ -0,0 +1,12 @@ +PATCHES=`find . -iname *.patch | sort` +export PATCH_DIR=$PWD +# Apply all the patches +for patch in $PATCHES; +do +echo `dirname $patch` +if [ `dirname $patch` != "./.repo/manifests" ];then + cd ../`dirname $patch`; + echo "Applying Patch in $PWD"; + git am $PATCH_DIR/$patch;cd -; +fi +done diff --git a/build/build.git-1.patch_notneeded b/build/build.git-1.patch_notneeded new file mode 100644 index 0000000..53f9d11 --- /dev/null +++ b/build/build.git-1.patch_notneeded @@ -0,0 +1,45 @@ +From d7aa54e85caeb1da85f7bf6aa9db51456cdff2b9 Mon Sep 17 00:00:00 2001 +From: Bernhard Rosenkraenzer <Bernhard.Rosenkranzer@linaro.org> +Date: Thu, 25 Jul 2013 07:26:30 +0530 +Subject: [PATCH] build: Allow building with OpenJDK + +My local builds with OpenJDK have been successful - no +reason to disallow it, let's go free... + +Signed-off-by: Bernhard Rosenkraenzer <Bernhard.Rosenkranzer@linaro.org> +Signed-off-by: Amit Pundir <amit.pundir@linaro.org> +--- + core/main.mk | 16 +++++++++------- + 1 file changed, 9 insertions(+), 7 deletions(-) + +diff --git a/core/main.mk b/core/main.mk +index d424b25..761e06f 100644 +--- a/core/main.mk ++++ b/core/main.mk +@@ -142,14 +142,16 @@ endif + + # Check for the corrent jdk + ifneq ($(shell java -version 2>&1 | grep -i openjdk),) +-$(info ************************************************************) +-$(info You are attempting to build with an unsupported JDK.) ++$(warning ************************************************************) + $(info $(space)) +-$(info You use OpenJDK but only Sun/Oracle JDK is supported.) +-$(info Please follow the machine setup instructions at) +-$(info $(space)$(space)$(space)$(space)https://source.android.com/source/download.html) +-$(info ************************************************************) +-$(error stop) ++$(warning You are attempting to build with an unsupported JDK.) ++$(warning AOSP errors out when using OpenJDK, saying you need to use) ++$(warning Java SE 1.6 instead.) ++$(warning A build with OpenJDK seems to work fine though - if you) ++$(warning run into any Java errors, you may want to try using the) ++$(warning version required by AOSP though using instructions at) ++$(warning $(space)$(space)$(space)$(space)https://source.android.com/source/download.html) ++$(warning ************************************************************) + endif + + # Check for the correct version of java +-- +1.7.9.5 + diff --git a/build/build.git-2.patch b/build/build.git-2.patch new file mode 100644 index 0000000..74a4cd7 --- /dev/null +++ b/build/build.git-2.patch @@ -0,0 +1,29 @@ +From 64cd5107eb178bfd5d7ec470eb416c132576c902 Mon Sep 17 00:00:00 2001 +From: Patrik Ryd <patrik.ryd@linaro.org> +Date: Mon, 14 Feb 2011 15:29:10 +0100 +Subject: [PATCH] build/core: Forward-port hook for device specific tasks + +Added generic hook for loading device specific tasks. + +Change-Id: I6216195edd6a43e940b3d254256092aca98ca58d +Signed-off-by: Patrik Ryd <patrik.ryd@linaro.org> +Signed-off-by: Bernhard Rosenkraenzer <Bernhard.Rosenkranzer@linaro.org> +--- + core/Makefile | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/core/Makefile b/core/Makefile +index f118cea..1e3d7a7 100644 +--- a/core/Makefile ++++ b/core/Makefile +@@ -1646,6 +1646,7 @@ ifneq ($(dont_bother),true) + include $(sort $(wildcard $(BUILD_SYSTEM)/tasks/*.mk)) + -include $(sort $(wildcard vendor/*/build/tasks/*.mk)) + -include $(sort $(wildcard device/*/build/tasks/*.mk)) ++-include $(sort $(wildcard device/*/common/tasks/*.mk)) + endif + + # ----------------------------------------------------------------- +-- +1.7.9.5 + diff --git a/build/build.git-3.patch b/build/build.git-3.patch new file mode 100644 index 0000000..2f786ea --- /dev/null +++ b/build/build.git-3.patch @@ -0,0 +1,31 @@ +From f8be809160b90758d114f59a65e5548ec0f954da Mon Sep 17 00:00:00 2001 +From: Bernhard Rosenkraenzer <Bernhard.Rosenkranzer@linaro.org> +Date: Thu, 25 Jul 2013 08:02:08 +0530 +Subject: [PATCH] build: Build fs_get_stats for tarball creation + +We need fs_get_stats if we're using u-boot because it's used +during tarball creation. + +Signed-off-by: Amit Pundir <amit.pundir@linaro.org> +--- + core/main.mk | 4 ++++ + 1 file changed, 4 insertions(+) + +diff --git a/core/main.mk b/core/main.mk +index 761e06f..164e3d3 100644 +--- a/core/main.mk ++++ b/core/main.mk +@@ -601,6 +601,10 @@ ifdef FULL_BUILD + $(foreach p,$(product_FILES),$(info : $(p))) + $(error done) + endif ++ ifneq ($(TARGET_BOOTLOADER_TYPE),fastboot) ++ # We need (host) fs_get_stats for the boottarball target ++ subdirs += build/tools/fs_get_stats ++ endif + else + # We're not doing a full build, and are probably only including + # a subset of the module makefiles. Don't try to build any modules +-- +1.7.9.5 + diff --git a/build/build.git-4.patch_notneeded b/build/build.git-4.patch_notneeded new file mode 100644 index 0000000..e28aa06 --- /dev/null +++ b/build/build.git-4.patch_notneeded @@ -0,0 +1,60 @@ +From 008ca7140bc95157f3c35afbb4fbe2259fded2d2 Mon Sep 17 00:00:00 2001 +From: Amit Pundir <amit.pundir@linaro.org> +Date: Thu, 25 Jul 2013 08:16:17 +0530 +Subject: [PATCH] build: Allow building with OpenJDK v1.7 + +Ubuntu-12.10 ships with OpenJDK v1.7 and AOSP errors out if you try +to build it with JAVA version other than 1.6. Linaro Android build +with JAVA v1.7, boot tested on Origen 4412, seems to work fine. + +Signed-off-by: Amit Pundir <amit.pundir@linaro.org> +--- + core/main.mk | 24 ++++++++++++------------ + 1 file changed, 12 insertions(+), 12 deletions(-) + +diff --git a/core/main.mk b/core/main.mk +index 164e3d3..f955d99 100644 +--- a/core/main.mk ++++ b/core/main.mk +@@ -143,8 +143,8 @@ endif + # Check for the corrent jdk + ifneq ($(shell java -version 2>&1 | grep -i openjdk),) + $(warning ************************************************************) +-$(info $(space)) + $(warning You are attempting to build with an unsupported JDK.) ++$(warning $(space)) + $(warning AOSP errors out when using OpenJDK, saying you need to use) + $(warning Java SE 1.6 instead.) + $(warning A build with OpenJDK seems to work fine though - if you) +@@ -157,17 +157,17 @@ endif + # Check for the correct version of java + java_version := $(shell java -version 2>&1 | head -n 1 | grep '^java .*[ "]1\.6[\. "$$]') + ifeq ($(strip $(java_version)),) +-$(info ************************************************************) +-$(info You are attempting to build with the incorrect version) +-$(info of java.) +-$(info $(space)) +-$(info Your version is: $(shell java -version 2>&1 | head -n 1).) +-$(info The correct version is: Java SE 1.6.) +-$(info $(space)) +-$(info Please follow the machine setup instructions at) +-$(info $(space)$(space)$(space)$(space)https://source.android.com/source/download.html) +-$(info ************************************************************) +-$(error stop) ++$(warning ************************************************************) ++$(warning You are attempting to build with the incorrect version) ++$(warning of java.) ++$(warning $(space)) ++$(warning Your version is: $(shell java -version 2>&1 | head -n 1).) ++$(warning The AOSP supported version is: Java SE 1.6.) ++$(warning $(space)) ++$(warning Linaro builds with java version "1.7.0_09" seems to work fine though.) ++$(warning AOSP supported machine setup instructions are at) ++$(warning $(space)$(space)$(space)$(space)https://source.android.com/source/download.html) ++$(warning ************************************************************) + endif + + # Check for the correct version of javac +-- +1.7.9.5 + diff --git a/frameworks/base/base.git-1.patch b/frameworks/base/base.git-1.patch new file mode 100644 index 0000000..90d3c95 --- /dev/null +++ b/frameworks/base/base.git-1.patch @@ -0,0 +1,30 @@ +From 3f8accd94982085ad508845c65713046a1970873 Mon Sep 17 00:00:00 2001 +From: Amit Pundir <amit.pundir@linaro.org> +Date: Mon, 4 Nov 2013 16:58:36 +0530 +Subject: [PATCH] PowerManagerService: use disablesuspend property to disable + suspend mode + +Signed-off-by: Amit Pundir <amit.pundir@linaro.org> +--- + .../android/server/power/PowerManagerService.java | 5 ++++- + 1 file changed, 4 insertions(+), 1 deletion(-) + +diff --git a/services/java/com/android/server/power/PowerManagerService.java b/services/java/com/android/server/power/PowerManagerService.java +index da9548f..498786d 100644 +--- a/services/java/com/android/server/power/PowerManagerService.java ++++ b/services/java/com/android/server/power/PowerManagerService.java +@@ -1483,7 +1483,10 @@ public final class PowerManagerService extends IPowerManager.Stub + * to being fully awake or else go to sleep for good. + */ + private boolean isItBedTimeYetLocked() { +- return mBootCompleted && !isBeingKeptAwakeLocked(); ++ if (SystemProperties.getBoolean("ro.disablesuspend", false)) ++ return false; ++ else ++ return mBootCompleted && !isBeingKeptAwakeLocked(); + } + + /** +-- +1.7.9.5 + diff --git a/frameworks/base/base.git-2.patch b/frameworks/base/base.git-2.patch new file mode 100644 index 0000000..6d59935 --- /dev/null +++ b/frameworks/base/base.git-2.patch @@ -0,0 +1,36 @@ +From f2b54f715e2054761c149a5c7429f8ff738a9571 Mon Sep 17 00:00:00 2001 +From: Amit Pundir <amit.pundir@linaro.org> +Date: Mon, 19 Aug 2013 15:04:35 +0530 +Subject: [PATCH] ActivityManagerService: Increase key dispatching timeout + value + +Increase key dispatching timeout value for Fast Models to make sure +that applications e.g. Monkey wait for enough time before raising ANR +(Application Not Responding) errors. + +Change-Id: Id11267567c5ef49ee578048c9bc6d98e8b153836 +Signed-off-by: Amit Pundir <amit.pundir@linaro.org> +--- + .../android/server/am/ActivityManagerService.java | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +diff --git a/services/java/com/android/server/am/ActivityManagerService.java b/services/java/com/android/server/am/ActivityManagerService.java +index 9201b1d..3ae4255 100644 +--- a/services/java/com/android/server/am/ActivityManagerService.java ++++ b/services/java/com/android/server/am/ActivityManagerService.java +@@ -300,10 +300,10 @@ public final class ActivityManagerService extends ActivityManagerNative + static final int BROADCAST_BG_TIMEOUT = 60*1000; + + // How long we wait until we timeout on key dispatching. +- static final int KEY_DISPATCHING_TIMEOUT = 5*1000; ++ static final int KEY_DISPATCHING_TIMEOUT = 5*1000*10; + + // How long we wait until we timeout on key dispatching during instrumentation. +- static final int INSTRUMENTATION_KEY_DISPATCHING_TIMEOUT = 60*1000; ++ static final int INSTRUMENTATION_KEY_DISPATCHING_TIMEOUT = 60*1000*10; + + // Amount of time we wait for observers to handle a user switch before + // giving up on them and unfreezing the screen. +-- +1.7.9.5 + diff --git a/frameworks/base/base.git-3.patch b/frameworks/base/base.git-3.patch new file mode 100644 index 0000000..6f6d496 --- /dev/null +++ b/frameworks/base/base.git-3.patch @@ -0,0 +1,29 @@ +From 949d6598fb20800f5881096aad07c33e37345c02 Mon Sep 17 00:00:00 2001 +From: =?utf8?q?Bernhard=20Rosenkr=C3=A4nzer?= + <Bernhard.Rosenkranzer@linaro.org> +Date: Mon, 4 Nov 2013 17:05:25 +0530 +Subject: [PATCH] interrupter: Use LOCAL_LDLIBS instead of LOCAL_LDFLAGS to + build host library + +Signed-off-by: Amit Pundir <amit.pundir@linaro.org> +--- + cmds/interrupter/Android.mk | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +diff --git a/cmds/interrupter/Android.mk b/cmds/interrupter/Android.mk +index e324627..54fa1f4 100644 +--- a/cmds/interrupter/Android.mk ++++ b/cmds/interrupter/Android.mk +@@ -16,6 +16,6 @@ LOCAL_SRC_FILES := \ + interrupter.c + LOCAL_MODULE := interrupter + LOCAL_MODULE_TAGS := eng tests +-LOCAL_LDFLAGS := -ldl ++LOCAL_LDLIBS := -ldl + +-include $(BUILD_HOST_SHARED_LIBRARY) +\ No newline at end of file ++include $(BUILD_HOST_SHARED_LIBRARY) +-- +1.7.9.5 + diff --git a/frameworks/native/native.git-1.patch b/frameworks/native/native.git-1.patch new file mode 100644 index 0000000..a446b36 --- /dev/null +++ b/frameworks/native/native.git-1.patch @@ -0,0 +1,49 @@ +From 1ff66dc28169874ef32f968da6e8ddd14ef28eba Mon Sep 17 00:00:00 2001 +From: Bernhard Rosenkraenzer <Bernhard.Rosenkranzer@linaro.org> +Date: Thu, 25 Jul 2013 13:27:18 +0530 +Subject: [PATCH] surfaceflinger: Don't crash on missing functions in + hwcomposers + +Some hwcomposers -- most notably hwcomposer.default.so -- don't +implement blank() or eventControl(). +Don't crash when trying to use them. + +Signed-off-by: Amit Pundir <amit.pundir@linaro.org> +--- + .../surfaceflinger/DisplayHardware/HWComposer.cpp | 7 ++++--- + 1 file changed, 4 insertions(+), 3 deletions(-) + +diff --git a/services/surfaceflinger/DisplayHardware/HWComposer.cpp b/services/surfaceflinger/DisplayHardware/HWComposer.cpp +index c7d1a90..7f9fb2f 100644 +--- a/services/surfaceflinger/DisplayHardware/HWComposer.cpp ++++ b/services/surfaceflinger/DisplayHardware/HWComposer.cpp +@@ -493,7 +493,7 @@ void HWComposer::eventControl(int disp, int event, int enabled) { + const int32_t oldValue = mDisplayData[disp].events & eventBit; + if (newValue != oldValue) { + ATRACE_CALL(); +- err = mHwc->eventControl(mHwc, disp, event, enabled); ++ err = mHwc->eventControl ? mHwc->eventControl(mHwc, disp, event, enabled) : NO_ERROR; + if (!err) { + int32_t& events(mDisplayData[disp].events); + events = (events & ~eventBit) | newValue; +@@ -731,14 +731,15 @@ status_t HWComposer::release(int disp) { + LOG_FATAL_IF(disp >= VIRTUAL_DISPLAY_ID_BASE); + if (mHwc) { + eventControl(disp, HWC_EVENT_VSYNC, 0); +- return (status_t)mHwc->blank(mHwc, disp, 1); ++ if (mHwc->blank) ++ return (status_t)mHwc->blank(mHwc, disp, 1); + } + return NO_ERROR; + } + + status_t HWComposer::acquire(int disp) { + LOG_FATAL_IF(disp >= VIRTUAL_DISPLAY_ID_BASE); +- if (mHwc) { ++ if (mHwc && mHwc->blank) { + return (status_t)mHwc->blank(mHwc, disp, 0); + } + return NO_ERROR; +-- +1.7.9.5 + diff --git a/frameworks/native/native.git-2.patch b/frameworks/native/native.git-2.patch new file mode 100644 index 0000000..8efff07 --- /dev/null +++ b/frameworks/native/native.git-2.patch @@ -0,0 +1,52 @@ +From 95c7fb8f9c5a0843e7ec411920910484c0bd37bc Mon Sep 17 00:00:00 2001 +From: Vishal Bhoj <vishal.bhoj@linaro.org> +Date: Thu, 25 Jul 2013 13:33:13 +0530 +Subject: [PATCH] surfaceflinger: Handle screen timeout on hw without vsync + +timeout currently at 1 second waiting for vsync. With +this change timeout happens at 16ms. + +Signed-off-by: Amit Pundir <amit.pundir@linaro.org> +--- + services/surfaceflinger/EventThread.cpp | 11 +++++++++++ + 1 file changed, 11 insertions(+) + +diff --git a/services/surfaceflinger/EventThread.cpp b/services/surfaceflinger/EventThread.cpp +index 3528b62..b79c973 100644 +--- a/services/surfaceflinger/EventThread.cpp ++++ b/services/surfaceflinger/EventThread.cpp +@@ -20,6 +20,7 @@ + #include <sys/types.h> + + #include <cutils/compiler.h> ++#include <cutils/properties.h> + + #include <gui/BitTube.h> + #include <gui/IDisplayEventConnection.h> +@@ -42,6 +43,11 @@ EventThread::EventThread(const sp<VSyncSource>& src) + mVsyncEnabled(false), + mDebugVsyncEnabled(false) { + ++ char value[PROPERTY_VALUE_MAX]; ++ property_get("debug.sf.no_hw_vsync", value, "0"); ++ if (1 == atoi(value)) ++ mUseSoftwareVSync = true; ++ + for (int32_t i=0 ; i<DisplayDevice::NUM_BUILTIN_DISPLAY_TYPES ; i++) { + mVSyncEvent[i].header.type = DisplayEventReceiver::DISPLAY_EVENT_VSYNC; + mVSyncEvent[i].header.id = 0; +@@ -109,6 +115,11 @@ void EventThread::onScreenAcquired() { + mUseSoftwareVSync = false; + mCondition.broadcast(); + } ++ ++ char value[PROPERTY_VALUE_MAX]; ++ property_get("debug.sf.no_hw_vsync", value, "0"); ++ if (1 == atoi(value)) ++ mUseSoftwareVSync = true; + } + + void EventThread::onVSyncEvent(nsecs_t timestamp) { +-- +1.7.9.5 + diff --git a/frameworks/native/native.git-3.patch b/frameworks/native/native.git-3.patch new file mode 100644 index 0000000..936e34a --- /dev/null +++ b/frameworks/native/native.git-3.patch @@ -0,0 +1,45 @@ +From 5f4d94214fc46fd41be434ecd0fc613bd2e88e5e Mon Sep 17 00:00:00 2001 +From: Yongqin Liu <yongqin.liu@linaro.org> +Date: Fri, 20 Dec 2013 06:09:30 -0500 +Subject: [PATCH] installd: insert one backdoor to support boot via nfs + +when boot via nfs, we need the install usr on nfs server to have the +chown permission as it does on android. but that's no easy to do with +setting of nfs. so we will make the install to run as root via the +property hack.installd.for.nfs set to 1 when want to boot via nfs + +Change-Id: I101849f9b7f55b9e8dd657ae321cf9341ddc7d02 +Signed-off-by: Vishal <vishal.bhoj@linaro.org> +--- + cmds/installd/installd.c | 8 +++++++- + 1 file changed, 7 insertions(+), 1 deletion(-) + +diff --git a/cmds/installd/installd.c b/cmds/installd/installd.c +index 0c80dac..e9eb61a 100644 +--- a/cmds/installd/installd.c ++++ b/cmds/installd/installd.c +@@ -533,6 +533,7 @@ int main(const int argc, const char *argv[]) { + socklen_t alen; + int lsocket, s, count; + int selinux_enabled = (is_selinux_enabled() > 0); ++ char nfs_hack_flag[PROPERTY_VALUE_MAX]; + + ALOGI("installd firing up\n"); + +@@ -551,7 +552,12 @@ int main(const int argc, const char *argv[]) { + exit(1); + } + +- drop_privileges(); ++ property_get("hack.installd.for.nfs", nfs_hack_flag, "0"); ++ if(!strcmp(nfs_hack_flag, "1")) { ++ ALOGI("Will not drop the privileges of installd service since hack.installd.for.nfs=%s.\n", nfs_hack_flag); ++ }else{ ++ drop_privileges(); ++ } + + lsocket = android_get_control_socket(SOCKET_PATH); + if (lsocket < 0) { +-- +1.8.5 + diff --git a/frameworks/native/native.git-4.patch b/frameworks/native/native.git-4.patch new file mode 100644 index 0000000..468d498 --- /dev/null +++ b/frameworks/native/native.git-4.patch @@ -0,0 +1,102 @@ +From efa820d42f8e375537b3e318ea26eb01aeac9990 Mon Sep 17 00:00:00 2001 +From: Amit Pundir <amit.pundir@linaro.org> +Date: Thu, 1 Aug 2013 18:15:27 +0530 +Subject: [PATCH] servicemanager: enable bctest with debug logs + +Enable bctest binder test and put ioctl pass/failure logs for lava. + +Change-Id: I33eb6b87d3f9efcef7334dbb0a649ce23b8b0a21 +Signed-off-by: Amit Pundir <amit.pundir@linaro.org> +--- + cmds/servicemanager/Android.mk | 10 ++++++---- + cmds/servicemanager/binder.c | 30 +++++++++++++++++++++++++++--- + 2 files changed, 33 insertions(+), 7 deletions(-) + +diff --git a/cmds/servicemanager/Android.mk b/cmds/servicemanager/Android.mk +index 8840867..46a053d 100644 +--- a/cmds/servicemanager/Android.mk ++++ b/cmds/servicemanager/Android.mk +@@ -1,9 +1,11 @@ + LOCAL_PATH:= $(call my-dir) + +-#include $(CLEAR_VARS) +-#LOCAL_SRC_FILES := bctest.c binder.c +-#LOCAL_MODULE := bctest +-#include $(BUILD_EXECUTABLE) ++include $(CLEAR_VARS) ++LOCAL_SHARED_LIBRARIES := liblog ++LOCAL_CFLAGS := -DBCTEST_DEBUG=1 ++LOCAL_SRC_FILES := bctest.c binder.c ++LOCAL_MODULE := bctest ++include $(BUILD_EXECUTABLE) + + include $(CLEAR_VARS) + LOCAL_SHARED_LIBRARIES := liblog +diff --git a/cmds/servicemanager/binder.c b/cmds/servicemanager/binder.c +index 1985756..c45ef6d 100644 +--- a/cmds/servicemanager/binder.c ++++ b/cmds/servicemanager/binder.c +@@ -136,7 +136,16 @@ void binder_close(struct binder_state *bs) + + int binder_become_context_manager(struct binder_state *bs) + { +- return ioctl(bs->fd, BINDER_SET_CONTEXT_MGR, 0); ++ int ret; ++ ret = ioctl(bs->fd, BINDER_SET_CONTEXT_MGR, 0); ++ if (ret < 0) { ++ fprintf(stderr,"binder_set_context_manager: ioctl FAIL (%s)\n", strerror(errno)); ++#if BCTEST_DEBUG ++ } else { ++ fprintf(stderr,"binder_set_context_manager: ioctl PASS\n"); ++#endif ++ } ++ return ret; + } + + int binder_write(struct binder_state *bs, void *data, unsigned len) +@@ -151,8 +160,12 @@ int binder_write(struct binder_state *bs, void *data, unsigned len) + bwr.read_buffer = 0; + res = ioctl(bs->fd, BINDER_WRITE_READ, &bwr); + if (res < 0) { +- fprintf(stderr,"binder_write: ioctl failed (%s)\n", ++ fprintf(stderr,"binder_write: ioctl FAIL (%s)\n", + strerror(errno)); ++#if BCTEST_DEBUG ++ } else { ++ fprintf(stderr,"binder_write: ioctl PASS\n"); ++#endif + } + return res; + } +@@ -339,8 +352,12 @@ int binder_call(struct binder_state *bs, + res = ioctl(bs->fd, BINDER_WRITE_READ, &bwr); + + if (res < 0) { +- fprintf(stderr,"binder: ioctl failed (%s)\n", strerror(errno)); ++ fprintf(stderr,"binder: ioctl FAIL (%s)\n", strerror(errno)); + goto fail; ++#if BCTEST_DEBUG ++ } else { ++ fprintf(stderr,"binder: ioctl PASS\n"); ++#endif + } + + res = binder_parse(bs, reply, readbuf, bwr.read_consumed, 0); +@@ -376,7 +393,14 @@ void binder_loop(struct binder_state *bs, binder_handler func) + + if (res < 0) { + ALOGE("binder_loop: ioctl failed (%s)\n", strerror(errno)); ++#if BCTEST_DEBUG ++ fprintf(stderr,"binder_loop: ioctl FAIL (%s)\n", strerror(errno)); ++#endif + break; ++#if BCTEST_DEBUG ++ } else { ++ fprintf(stderr,"binder_loop: ioctl PASS\n"); ++#endif + } + + res = binder_parse(bs, 0, readbuf, bwr.read_consumed, func); +-- +1.7.9.5 + diff --git a/frameworks/native/native.git-5.patch b/frameworks/native/native.git-5.patch new file mode 100644 index 0000000..289ceec --- /dev/null +++ b/frameworks/native/native.git-5.patch @@ -0,0 +1,33 @@ +From 5b26de0b29013f2da4b2bf20268df2a3a1d8d184 Mon Sep 17 00:00:00 2001 +From: Amit Pundir <amit.pundir@linaro.org> +Date: Wed, 6 Nov 2013 10:30:48 +0530 +Subject: [PATCH] libEGL: use s/w rendering on h/w with no GPU + +Fallback to Software Renderer used for emulators if we are running +on a hardware with no GPU support. + +Change-Id: Id0772f466b5a08f90e7f9eceeb9b8f5f69179539 +Signed-off-by: Amit Pundir <amit.pundir@linaro.org> +--- + opengl/libs/EGL/Loader.cpp | 5 +++++ + 1 file changed, 5 insertions(+) + +diff --git a/opengl/libs/EGL/Loader.cpp b/opengl/libs/EGL/Loader.cpp +index 02914a0..7c4822c 100644 +--- a/opengl/libs/EGL/Loader.cpp ++++ b/opengl/libs/EGL/Loader.cpp +@@ -86,6 +86,11 @@ checkGlesEmulationStatus(void) + char prop[PROPERTY_VALUE_MAX]; + int result = -1; + ++ /* Running on a hardware with no GPU? */ ++ property_get("ro.nohardwaregfx",prop,"false"); ++ if (!strcmp(prop,"true")) ++ return 0; ++ + /* First, check for qemu=1 */ + property_get("ro.kernel.qemu",prop,"0"); + if (atoi(prop) != 1) +-- +1.7.9.5 + diff --git a/hardware/libhardware/libhardware.git-1.patch b/hardware/libhardware/libhardware.git-1.patch new file mode 100644 index 0000000..31782c7 --- /dev/null +++ b/hardware/libhardware/libhardware.git-1.patch @@ -0,0 +1,30 @@ +From 7c7a078a446a3ab98034fd083fc8dd29e02f7ced Mon Sep 17 00:00:00 2001 +From: Bernhard Rosenkraenzer <Bernhard.Rosenkranzer@linaro.org> +Date: Sun, 28 Aug 2011 15:07:50 +0159 +Subject: [PATCH] gralloc: Use FBIOPAN_DISPLAY instead of FBIOPUT_VSCREENINFO + to refresh display. + +Fixes lp bug 824506, should provide minor speedup +on other hardware. +--- + modules/gralloc/framebuffer.cpp | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +diff --git a/modules/gralloc/framebuffer.cpp b/modules/gralloc/framebuffer.cpp +index 326f2ae..e0831df 100644 +--- a/modules/gralloc/framebuffer.cpp ++++ b/modules/gralloc/framebuffer.cpp +@@ -97,8 +97,8 @@ static int fb_post(struct framebuffer_device_t* dev, buffer_handle_t buffer) + const size_t offset = hnd->base - m->framebuffer->base; + m->info.activate = FB_ACTIVATE_VBL; + m->info.yoffset = offset / m->finfo.line_length; +- if (ioctl(m->framebuffer->fd, FBIOPUT_VSCREENINFO, &m->info) == -1) { +- ALOGE("FBIOPUT_VSCREENINFO failed"); ++ if (ioctl(m->framebuffer->fd, FBIOPAN_DISPLAY, &m->info) == -1) { ++ LOGE("FBIOPAN_DISPLAY failed"); + m->base.unlock(&m->base, buffer); + return -errno; + } +-- +1.7.9.5 + diff --git a/hardware/libhardware/libhardware.git-2.patch b/hardware/libhardware/libhardware.git-2.patch new file mode 100644 index 0000000..081c0f3 --- /dev/null +++ b/hardware/libhardware/libhardware.git-2.patch @@ -0,0 +1,40 @@ +From 3181e83bf7588a53e69dbe0135c82b72f9c61514 Mon Sep 17 00:00:00 2001 +From: Bernhard Rosenkraenzer <Bernhard.Rosenkranzer@linaro.org> +Date: Wed, 23 Nov 2011 11:24:12 +0059 +Subject: [PATCH] gralloc: Fix inverted colors on BRGA + +Don't assume any 32bpp mode is RGBX. +This is a forward-port of +commit f50b075a8b88eff482628e8ab62a04539117c7ea + +Signed-off-by: Bernhard Rosenkraenzer <Bernhard.Rosenkranzer@linaro.org> +Signed-off-by: Amit Pundir <amit.pundir@linaro.org> +--- + modules/gralloc/framebuffer.cpp | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +diff --git a/modules/gralloc/framebuffer.cpp b/modules/gralloc/framebuffer.cpp +index e0831df..b7ba3b1 100644 +--- a/modules/gralloc/framebuffer.cpp ++++ b/modules/gralloc/framebuffer.cpp +@@ -98,7 +98,7 @@ static int fb_post(struct framebuffer_device_t* dev, buffer_handle_t buffer) + m->info.activate = FB_ACTIVATE_VBL; + m->info.yoffset = offset / m->finfo.line_length; + if (ioctl(m->framebuffer->fd, FBIOPAN_DISPLAY, &m->info) == -1) { +- LOGE("FBIOPAN_DISPLAY failed"); ++ ALOGE("FBIOPAN_DISPLAY failed"); + m->base.unlock(&m->base, buffer); + return -errno; + } +@@ -330,7 +330,7 @@ int fb_device_open(hw_module_t const* module, const char* name, + if (status >= 0) { + int stride = m->finfo.line_length / (m->info.bits_per_pixel >> 3); + int format = (m->info.bits_per_pixel == 32) +- ? HAL_PIXEL_FORMAT_RGBX_8888 ++ ? (m->info.red.offset ? HAL_PIXEL_FORMAT_BGRA_8888 : HAL_PIXEL_FORMAT_RGBX_8888) + : HAL_PIXEL_FORMAT_RGB_565; + const_cast<uint32_t&>(dev->device.flags) = 0; + const_cast<uint32_t&>(dev->device.width) = m->info.xres; +-- +1.7.9.5 + diff --git a/packages/apps/Mms/Mms.git-1.patch_notneeded b/packages/apps/Mms/Mms.git-1.patch_notneeded new file mode 100644 index 0000000..47fc2b7 --- /dev/null +++ b/packages/apps/Mms/Mms.git-1.patch_notneeded @@ -0,0 +1,57 @@ +From fb8b978a7dbfd6812c69da9f88365fe0d47f2281 Mon Sep 17 00:00:00 2001 +From: Amit Pundir <amit.pundir@linaro.org> +Date: Tue, 30 Jul 2013 18:40:04 +0530 +Subject: [PATCH] catch NullPointerException when network information is not + available + +Catch NullPointerException when network information +for TYPE_MOBILE_MMS connection is not available. + +Change-Id: I91e1835c7cc4b6ef770fe558a5f1ac1dabe97f41 +Signed-off-by: Amit Pundir <amit.pundir@linaro.org> +--- + .../mms/transaction/MmsSystemEventReceiver.java | 26 +++++++++++--------- + 1 file changed, 15 insertions(+), 11 deletions(-) + +diff --git a/src/com/android/mms/transaction/MmsSystemEventReceiver.java b/src/com/android/mms/transaction/MmsSystemEventReceiver.java +index e152b3a..3f3b769 100644 +--- a/src/com/android/mms/transaction/MmsSystemEventReceiver.java ++++ b/src/com/android/mms/transaction/MmsSystemEventReceiver.java +@@ -73,19 +73,23 @@ public class MmsSystemEventReceiver extends BroadcastReceiver { + } + return; + } +- NetworkInfo mmsNetworkInfo = mConnMgr +- .getNetworkInfo(ConnectivityManager.TYPE_MOBILE_MMS); +- boolean available = mmsNetworkInfo.isAvailable(); +- boolean isConnected = mmsNetworkInfo.isConnected(); ++ try { ++ NetworkInfo mmsNetworkInfo = mConnMgr ++ .getNetworkInfo(ConnectivityManager.TYPE_MOBILE_MMS); ++ boolean available = mmsNetworkInfo.isAvailable(); ++ boolean isConnected = mmsNetworkInfo.isConnected(); + +- if (Log.isLoggable(LogTag.TRANSACTION, Log.VERBOSE)) { +- Log.v(TAG, "TYPE_MOBILE_MMS available = " + available + +- ", isConnected = " + isConnected); +- } ++ if (Log.isLoggable(LogTag.TRANSACTION, Log.VERBOSE)) { ++ Log.v(TAG, "TYPE_MOBILE_MMS available = " + available + ++ ", isConnected = " + isConnected); ++ } + +- // Wake up transact service when MMS data is available and isn't connected. +- if (available && !isConnected) { +- wakeUpService(context); ++ // Wake up transact service when MMS data is available and isn't connected. ++ if (available && !isConnected) { ++ wakeUpService(context); ++ } ++ } catch (NullPointerException e) { ++ Log.w(TAG, "Network Information for TYPE_MOBILE_MMS connection is not available!!"); + } + } else if (action.equals(Intent.ACTION_BOOT_COMPLETED)) { + // We should check whether there are unread incoming +-- +1.7.9.5 + diff --git a/system/core/core.git-1.patch b/system/core/core.git-1.patch new file mode 100644 index 0000000..708c656 --- /dev/null +++ b/system/core/core.git-1.patch @@ -0,0 +1,26 @@ +From df499fb8cb288e7821baabed0556068028de1dce Mon Sep 17 00:00:00 2001 +From: Amit Pundir <amit.pundir@linaro.org> +Date: Sun, 10 Nov 2013 14:17:48 +0530 +Subject: [PATCH] init.rc: launch shell as root + +Change-Id: Ifecf06f2af7f0bf1d41d5f8b67d1733b3c1d9bee +Signed-off-by: Amit Pundir <amit.pundir@linaro.org> +--- + rootdir/init.rc | 1 - + 1 file changed, 1 deletion(-) + +diff --git a/rootdir/init.rc b/rootdir/init.rc +index a0a9813..1bee773 100644 +--- a/rootdir/init.rc ++++ b/rootdir/init.rc +@@ -425,7 +425,6 @@ service console /system/bin/sh + class core + console + disabled +- user shell + group log + + on property:ro.debuggable=1 +-- +1.7.9.5 + diff --git a/system/extras/extras.git-1.patch b/system/extras/extras.git-1.patch new file mode 100644 index 0000000..585f3c6 --- /dev/null +++ b/system/extras/extras.git-1.patch @@ -0,0 +1,149 @@ +From 20148ca5ca0af5f16b12c0cf4835c756bfbe86bf Mon Sep 17 00:00:00 2001 +From: Amit Pundir <amit.pundir@linaro.org> +Date: Thu, 11 Jul 2013 09:56:35 +0100 +Subject: [PATCH] build bionic libc tests as part of system image + +Change-Id: Ie8cdd07d2b82c37446a58d1ddaedceef45d7f407 +Signed-off-by: Amit Pundir <amit.pundir@linaro.org> +--- + tests/bionic/Android.mk | 8 +++++ + tests/bionic/libc/build-tests.mk | 66 ++++++++++++++++++++++++++++++++++ + tests/bionic/libc/run-test_linaro.sh | 38 ++++++++++++++++++++ + 3 files changed, 112 insertions(+) + create mode 100644 tests/bionic/Android.mk + create mode 100644 tests/bionic/libc/build-tests.mk + create mode 100755 tests/bionic/libc/run-test_linaro.sh + +diff --git a/tests/bionic/Android.mk b/tests/bionic/Android.mk +new file mode 100644 +index 0000000..b72df25 +--- /dev/null ++++ b/tests/bionic/Android.mk +@@ -0,0 +1,8 @@ ++ifdef BIONIC_TESTS ++LOCAL_PATH := $(call my-dir) ++include $(CLEAR_VARS) ++ ++subdirs := $(addprefix $(LOCAL_PATH)/,$(addsuffix /Android.mk,libc)) ++ ++include $(subdirs) ++endif +diff --git a/tests/bionic/libc/build-tests.mk b/tests/bionic/libc/build-tests.mk +new file mode 100644 +index 0000000..bf3c6dc +--- /dev/null ++++ b/tests/bionic/libc/build-tests.mk +@@ -0,0 +1,66 @@ ++############################################################################# ++# Copyright (c) 2013 Linaro ++# All rights reserved. This program and the accompanying materials ++# are made available under the terms of the Eclipse Public License v1.0 ++# which accompanies this distribution, and is available at ++# http://www.eclipse.org/legal/epl-v10.html ++# ++# Contributors: ++# Linaro <linaro-android@lists.linaro.org> ++############################################################################# ++ ++# pick up tests to build the system image ++PRODUCT_PACKAGES += \ ++ bench_locks \ ++ bench_pthread_shared \ ++ bench_pthread_static \ ++ bench_stdio \ ++ libdlclosetest1 \ ++ libdlclosetest2 \ ++ libtest_relocs \ ++ libtest_static_init \ ++ test_aligned \ ++ test_arc4random \ ++ test_atomics \ ++ test_clock \ ++ test_clone \ ++ test_cpu_set \ ++ test_dlclose_destruction \ ++ test_dlopen_null \ ++ test_drand48 \ ++ test_executable_destructor \ ++ test_getaddrinfo \ ++ test_getgrouplist \ ++ test_gethostbyname \ ++ test_gethostname \ ++ test_libgen \ ++ test_mutex \ ++ test_netinet_icmp \ ++ test_pthread_cleanup_push \ ++ test_pthread_cond \ ++ test_pthread_create \ ++ test_pthread_getcpuclockid \ ++ test_pthread_join \ ++ test_pthread_mutex \ ++ test_pthread_once \ ++ test_pthread_rwlock \ ++ test_relocs \ ++ test_semaphore \ ++ test_sem_post \ ++ test_setjmp \ ++ test_seteuid \ ++ test_static_cpp_mutex \ ++ test_static_executable_destructor \ ++ test_static_init \ ++ test_strftime_2039 \ ++ test_strptime \ ++ test_sysconf \ ++ test_system \ ++ test_timer_create \ ++ test_timer_create2 \ ++ test_timer_create3 \ ++ test_tm_zone \ ++ test_udp \ ++ test_vfprintf_leak ++ ++PRODUCT_COPY_FILES += system/extras/tests/bionic/libc/run-test_linaro.sh:system/bin/run-bionic-tests.sh +diff --git a/tests/bionic/libc/run-test_linaro.sh b/tests/bionic/libc/run-test_linaro.sh +new file mode 100755 +index 0000000..7640303 +--- /dev/null ++++ b/tests/bionic/libc/run-test_linaro.sh +@@ -0,0 +1,38 @@ ++############################################################################# ++# Copyright (c) 2013 Linaro ++# All rights reserved. This program and the accompanying materials ++# are made available under the terms of the Eclipse Public License v1.0 ++# which accompanies this distribution, and is available at ++# http://www.eclipse.org/legal/epl-v10.html ++# ++# Contributors: ++# Linaro <linaro-android@lists.linaro.org> ++# ++# Usage: ++# This test script is used to run all stock bionic/libc tests in one go ++# and capture results in LAVA. ++# Test sources are available at "system/extras/tests/bionic/libc" ++############################################################################# ++ ++TESTS="bench_locks bench_pthread_shared bench_pthread_static bench_stdio test_arc4random test_atomics test_clock test_clone test_cpu_set test_dlclose_destruction test_dlopen_null test_drand48 test_executable_destructor test_getaddrinfo test_getgrouplist test_gethostbyname test_gethostname test_libgen test_mutex test_netinet_icmp test_pthread_cleanup_push test_pthread_cond test_pthread_create test_pthread_getcpuclockid test_pthread_join test_pthread_mutex test_pthread_once test_pthread_rwlock test_relocs test_semaphore test_sem_post test_setjmp test_seteuid test_static_cpp_mutex test_static_executable_destructor test_static_init test_strftime_2039 test_strptime test_sysconf test_timer_create3 test_tm_zone test_udp test_vfprintf_leak" ++ ++# Rogue tests ++#TESTS+= "test_cond test_thread_max test_timer_create test_timer_create2" ++ ++for TEST in $TESTS; do ++ $TEST ++ EXIT_STATUS=$? ++ if [ $EXIT_STATUS -ne 0 ]; then ++ echo "$TEST : FAIL" ++ else ++ echo "$TEST : PASS" ++ fi ++done ++ ++test_system date ++EXIT_STATUS=$? ++if [ $EXIT_STATUS -ne 0 ]; then ++ echo "$TEST : FAIL" ++else ++ echo "$TEST : PASS" ++fi +-- +1.7.9.5 + |