From 3eba59e963d87f54e1b33b0a34de3fe37e67ebe1 Mon Sep 17 00:00:00 2001
From: David Kaprielian <sabin@lindenlab.com>
Date: Wed, 26 Jan 2011 15:07:54 -0800
Subject: [PATCH] Adding run_tests buildparam and setting to false for coverity
 builds so coverity can run. Reviewed by CG.

---
 BuildParams | 1 +
 build.sh    | 3 ++-
 2 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/BuildParams b/BuildParams
index 0a4271f7a8b..8e036ab56bd 100644
--- a/BuildParams
+++ b/BuildParams
@@ -26,6 +26,7 @@ viewer-development.show_changes_since = last_sprint
 
 # Build Settings
 viewer-development_coverity.coverity_product = viewer
+viewer-development_coverity.run_tests = false
 viewer-development.build_debug_release_separately = true
 
 # Notifications - to configure email notices, add a setting like this:
diff --git a/build.sh b/build.sh
index cd1d9df6f3e..1c28f5a2559 100755
--- a/build.sh
+++ b/build.sh
@@ -66,7 +66,8 @@ pre_build()
     -DRELEASE_CRASH_REPORTING:BOOL=ON \
     -DLOCALIZESETUP:BOOL=ON \
     -DPACKAGE:BOOL=ON \
-    -DCMAKE_VERBOSE_MAKEFILE:BOOL=TRUE
+    -DCMAKE_VERBOSE_MAKEFILE:BOOL=TRUE \
+    -DLL_TESTS:BOOL="$run_tests"
   end_section "Pre$variant"
 }
 
-- 
GitLab