Gitweb links:

...log 
http://git.netsurf-browser.org/buildsystem.git/shortlog/b5403fb681d18e7ed2e8ad455463db9d0667ae7e
...commit 
http://git.netsurf-browser.org/buildsystem.git/commit/b5403fb681d18e7ed2e8ad455463db9d0667ae7e
...tree 
http://git.netsurf-browser.org/buildsystem.git/tree/b5403fb681d18e7ed2e8ad455463db9d0667ae7e

The branch, master has been updated
       via  b5403fb681d18e7ed2e8ad455463db9d0667ae7e (commit)
      from  f2720449b3ede0299da61dfaff9fce6b8db78f75 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commitdiff 
http://git.netsurf-browser.org/buildsystem.git/commit/?id=b5403fb681d18e7ed2e8ad455463db9d0667ae7e
commit b5403fb681d18e7ed2e8ad455463db9d0667ae7e
Author: Daniel Silverstone <[email protected]>
Commit: Daniel Silverstone <[email protected]>

    Add support for sanitize to jenkins-build.sh

diff --git a/citools/jenkins-build.sh b/citools/jenkins-build.sh
index db406f8..bff4cd0 100755
--- a/citools/jenkins-build.sh
+++ b/citools/jenkins-build.sh
@@ -32,6 +32,7 @@
 # static - perform a static analysis
 # coverity - perform a coverity scan
 # docs - build doxygen docs
+# sanitize - Run the test suite under ASAN and UBSAN
 
 # HOST must be in the environment and set correctly
 if [ "x${HOST}" = "x" ];then
@@ -100,6 +101,11 @@ case "$1" in
        TARGET_DOCS=${HOST}
        ;;
 
+    "sanitize")
+       TARGET_SANITIZE=${HOST}
+       VARIANT="debug"
+       ;;
+
     "")
        # default is test only on Linux and install
        # Currently most tests do not work on targets except for Linux
@@ -109,7 +115,7 @@ case "$1" in
 
     *)
        cat <<EOF
-Usage: jenkins-build.sh [install|test-install|coverage|static|docs]
+Usage: jenkins-build.sh [install|test-install|coverage|static|docs|sanitize]
 
        install        build and install
        test-install   build, test and install
@@ -117,6 +123,7 @@ Usage: jenkins-build.sh 
[install|test-install|coverage|static|docs]
        static         perform a static anaysis
        coverity       perform a coverity scan
        docs           generate doxygen docs
+       sanitize       run the tests under ASAN/UBSAN
 EOF
        exit 1
        ;;
@@ -216,6 +223,9 @@ elif [ "x${HOST}" = "x${TARGET_DOCS}" ]; then
     # Documentation build
     ${MAKE} Q= HOST=${HOST} VARIANT=${VARIANT} docs
 
+elif [ "x${HOST}" = "x${TARGET_SANITIZE}" ]; then
+    # Sanitize build
+    ${NAME} Q= HOST=${HOST} VARIANT=${VARIANT} sanitize
 
 else
     # Normal build


-----------------------------------------------------------------------

Summary of changes:
 citools/jenkins-build.sh |   12 +++++++++++-
 1 file changed, 11 insertions(+), 1 deletion(-)

diff --git a/citools/jenkins-build.sh b/citools/jenkins-build.sh
index db406f8..bff4cd0 100755
--- a/citools/jenkins-build.sh
+++ b/citools/jenkins-build.sh
@@ -32,6 +32,7 @@
 # static - perform a static analysis
 # coverity - perform a coverity scan
 # docs - build doxygen docs
+# sanitize - Run the test suite under ASAN and UBSAN
 
 # HOST must be in the environment and set correctly
 if [ "x${HOST}" = "x" ];then
@@ -100,6 +101,11 @@ case "$1" in
        TARGET_DOCS=${HOST}
        ;;
 
+    "sanitize")
+       TARGET_SANITIZE=${HOST}
+       VARIANT="debug"
+       ;;
+
     "")
        # default is test only on Linux and install
        # Currently most tests do not work on targets except for Linux
@@ -109,7 +115,7 @@ case "$1" in
 
     *)
        cat <<EOF
-Usage: jenkins-build.sh [install|test-install|coverage|static|docs]
+Usage: jenkins-build.sh [install|test-install|coverage|static|docs|sanitize]
 
        install        build and install
        test-install   build, test and install
@@ -117,6 +123,7 @@ Usage: jenkins-build.sh 
[install|test-install|coverage|static|docs]
        static         perform a static anaysis
        coverity       perform a coverity scan
        docs           generate doxygen docs
+       sanitize       run the tests under ASAN/UBSAN
 EOF
        exit 1
        ;;
@@ -216,6 +223,9 @@ elif [ "x${HOST}" = "x${TARGET_DOCS}" ]; then
     # Documentation build
     ${MAKE} Q= HOST=${HOST} VARIANT=${VARIANT} docs
 
+elif [ "x${HOST}" = "x${TARGET_SANITIZE}" ]; then
+    # Sanitize build
+    ${NAME} Q= HOST=${HOST} VARIANT=${VARIANT} sanitize
 
 else
     # Normal build


-- 
NetSurf Project build system

_______________________________________________
netsurf-commits mailing list
[email protected]
http://listmaster.pepperfish.net/cgi-bin/mailman/listinfo/netsurf-commits-netsurf-browser.org

Reply via email to