changeset 354:818a787ae5f8

Couple of fixes
author Sebastien Decugis <sdecugis@nict.go.jp>
date Wed, 30 Jun 2010 11:14:49 +0900
parents 5d988e250308
children 1ae3f2c28737
files contrib/nightly_tests/allext.conf contrib/nightly_tests/runtests.sh
diffstat 2 files changed, 5 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/contrib/nightly_tests/allext.conf	Tue Jun 29 17:19:28 2010 +0900
+++ b/contrib/nightly_tests/allext.conf	Wed Jun 30 11:14:49 2010 +0900
@@ -7,7 +7,7 @@
 
 set(CTEST_BUILD_OPTIONS "")
 set(CTEST_BUILD_OPTIONS "${CTEST_BUILD_OPTIONS} -DBUILD_ACL_WL:BOOL=ON")
-set(CTEST_BUILD_OPTIONS "${CTEST_BUILD_OPTIONS} -DBUILD_APP_ACCT:BOOL=ON -DTEST_APP_ACCT:BOOL=ON -DTEST_APP_ACCT_CONNINFO:STRING=\"user=test dbname=test\"")
+set(CTEST_BUILD_OPTIONS "${CTEST_BUILD_OPTIONS} -DBUILD_APP_ACCT:BOOL=ON -DTEST_APP_ACCT:BOOL=ON -DTEST_APP_ACCT_CONNINFO:STRING=\"user=test\\ dbname=test\"")
 set(CTEST_BUILD_OPTIONS "${CTEST_BUILD_OPTIONS} -DBUILD_APP_RADGW:BOOL=ON")
 set(CTEST_BUILD_OPTIONS "${CTEST_BUILD_OPTIONS} -DBUILD_DBG_MONITOR:BOOL=ON")
 set(CTEST_BUILD_OPTIONS "${CTEST_BUILD_OPTIONS} -DBUILD_DBG_RT:BOOL=ON")
--- a/contrib/nightly_tests/runtests.sh	Tue Jun 29 17:19:28 2010 +0900
+++ b/contrib/nightly_tests/runtests.sh	Wed Jun 30 11:14:49 2010 +0900
@@ -46,8 +46,10 @@
 
 # Now, for each test in the list
 for t in $(cat $WORKDIR/2_tests.list | grep -v -e "^#"); do
-   # Create the work environment
-   mkdir $WORKDIR/$t
+   # Create the work environment if needed
+   if [ ! -d $WORKDIR/$t]; then 
+       mkdir $WORKDIR/$t
+   fi
    
    #### Create the script
    
"Welcome to our mercurial repository"