瀏覽代碼

test_framework_GRASS_GIS_with_NC.sh: store configuration in separate file

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@73993 15284696-431f-4ddb-bdfa-cd5b030d7da7
Markus Neteler 6 年之前
父節點
當前提交
7b095eaa72

+ 28 - 0
testsuite/examples/test_framework_GRASS_GIS_with_NC.conf

@@ -0,0 +1,28 @@
+### CONFIGURATION
+#
+# computer architecture:
+ARCH=x86_64-pc-linux-gnu
+# name of binary:
+GRASSBIN=grass77
+# source code directory as full path:
+GRASSSRC="$HOME/software/grass77"
+# temporary grassdata directory
+GRASSDATA="$HOME/grassdata/tests-grassdata"
+
+# Python binary to be used (python|python3)
+PYTHON=python
+
+# here we suppose default compilation settings of GRASS GIS and no 'make install'
+# may be no|yes
+COMPILE="no"
+# configure metascript with compiler flags:
+CONFIGURE="${GRASSSRC}/conf_grass7.sh"
+
+# directory to store reports, e.g. in a subdirectory
+REPORTS="testreports"
+
+# publish report on WWW Server (not needed for local tests)
+# may be no|yes
+PUBLISH="no"
+# upload WWW dir on server for report publication (not used for local tests)
+SERVERDIR="/var/www/html/grassgistestreports"

+ 2 - 27
testsuite/examples/test_framework_GRASS_GIS_with_NC.sh

@@ -27,33 +27,8 @@
 ############################################################################
 
 ### CONFIGURATION
-#
-# computer architecture:
-ARCH=x86_64-pc-linux-gnu
-# name of binary:
-GRASSBIN=grass77
-# source code directory as full path:
-GRASSSRC="$HOME/software/grass77"
-# temporary grassdata directory
-GRASSDATA="$HOME/grassdata/tests-grassdata"
-
-# Python binary to be used (python|python3)
-PYTHON=python
-
-# here we suppose default compilation settings of GRASS GIS and no 'make install'
-# may be no|yes
-COMPILE="no"
-# configure metascript with compiler flags:
-CONFIGURE="${GRASSSRC}/conf_grass7.sh"
-
-# directory to store reports, e.g. in a subdirectory
-REPORTS="testreports"
-
-# publish report on WWW Server (not needed for local tests)
-# may be no|yes
-PUBLISH="no"
-# upload WWW dir on server for report publication (not used for local tests)
-SERVERDIR="/var/www/html/grassgistestreports"
+
+source test_framework_GRASS_GIS_with_NC.conf
 
 ######### nothing to change below