diff --git a/tests/src/core/runtests.sh b/tests/src/core/runtests.sh index 9bb9f09b515..ebb08c2e792 100644 --- a/tests/src/core/runtests.sh +++ b/tests/src/core/runtests.sh @@ -1,3 +1,4 @@ +#!/bin/bash #*************************************************************************** # runtests.sh # -------------------------------------- @@ -12,7 +13,7 @@ #* (at your option) any later version. * #* * #***************************************************************************/ -#!/bin/bash + #set -x LIST=`ls -lah |grep rwxr-xr-x |grep -v ^d |grep -v pl$ |grep -v ~$ |grep -v .sh$ |awk '{print $8}'|awk '$1=$1' RS=` diff --git a/tests/src/core/test_builder.pl b/tests/src/core/test_builder.pl index 22b4cbd07c5..8cfac32d4a5 100755 --- a/tests/src/core/test_builder.pl +++ b/tests/src/core/test_builder.pl @@ -1,3 +1,4 @@ +#!/usr/bin/perl #*************************************************************************** # test_builder.pl # -------------------------------------- @@ -12,7 +13,7 @@ #* (at your option) any later version. * #* * #***************************************************************************/ -#!/usr/bin/perl + use Cwd; ##################################################### diff --git a/tests/src/core/test_suite_builder.sh b/tests/src/core/test_suite_builder.sh index 6447a920fb4..aaac2f3c9c9 100755 --- a/tests/src/core/test_suite_builder.sh +++ b/tests/src/core/test_suite_builder.sh @@ -1,3 +1,4 @@ +#!/bin/bash #*************************************************************************** # test_suite_builder.sh # -------------------------------------- @@ -12,7 +13,7 @@ #* (at your option) any later version. * #* * #***************************************************************************/ -#!/bin/bash + LIST=`ls ../../../src/core/ |grep .cpp |grep ^qgs |grep -v ~$ |grep -v moc.cpp$ | sed 's/.cpp//g' |awk '$1=$1' RS= |sort` for FILE in $LIST do diff --git a/tests/src/gui/runtests.sh b/tests/src/gui/runtests.sh index 27a7de2d3f6..ce264510f9c 100755 --- a/tests/src/gui/runtests.sh +++ b/tests/src/gui/runtests.sh @@ -1,3 +1,4 @@ +#!/bin/bash #*************************************************************************** # runtests.sh # -------------------------------------- @@ -12,7 +13,7 @@ #* (at your option) any later version. * #* * #***************************************************************************/ -#!/bin/bash + #set -x LIST=`ls -lah |grep rwxr-xr-x |grep -v ^d |grep -v pl$ |grep -v ~$ |grep -v .sh$ |awk '{print $8}'|awk '$1=$1' RS=` diff --git a/tests/src/gui/test_builder.pl b/tests/src/gui/test_builder.pl index 8c84e177631..5db571b478f 100755 --- a/tests/src/gui/test_builder.pl +++ b/tests/src/gui/test_builder.pl @@ -1,3 +1,4 @@ +#!/usr/bin/perl #*************************************************************************** # test_builder.pl # -------------------------------------- @@ -12,7 +13,7 @@ #* (at your option) any later version. * #* * #***************************************************************************/ -#!/usr/bin/perl + use Cwd; ##################################################### diff --git a/tests/src/gui/test_suite_builder.sh b/tests/src/gui/test_suite_builder.sh index bd2f9b3a6dd..73bfd4a393f 100755 --- a/tests/src/gui/test_suite_builder.sh +++ b/tests/src/gui/test_suite_builder.sh @@ -1,3 +1,4 @@ +#!/bin/bash #*************************************************************************** # test_suite_builder.sh # -------------------------------------- @@ -12,7 +13,7 @@ #* (at your option) any later version. * #* * #***************************************************************************/ -#!/bin/bash + LIST=`ls ../../../src/gui/ |grep .cpp |grep ^qgs |grep -v ~$ |grep -v moc.cpp$ | sed 's/.cpp//g' |awk '$1=$1' RS= |sort` for FILE in $LIST do diff --git a/tools/mapserver_export/ms_export.py b/tools/mapserver_export/ms_export.py index 2d6862745e8..a4e048e61b7 100644 --- a/tools/mapserver_export/ms_export.py +++ b/tools/mapserver_export/ms_export.py @@ -1,3 +1,17 @@ +#*************************************************************************** +# ms_export.py +# -------------------------------------- +# Date : Sun Sep 16 12:33:46 AKDT 2007 +# Copyright : (C) 2007 by Gary E. Sherman +# Email : sherman at mrcc dot com +#*************************************************************************** +#* * +#* This program is free software; you can redistribute it and/or modify * +#* it under the terms of the GNU General Public License as published by * +#* the Free Software Foundation; either version 2 of the License, or * +#* (at your option) any later version. * +#* * +#***************************************************************************/ # This class exports a QGIS project file to a mapserver .map file. # All the work is done in the writeMapFile method. The msexport binary # presents a Qt based GUI that collects the needed information for this diff --git a/tools/mapserver_export/ms_main.cpp b/tools/mapserver_export/ms_main.cpp index 24674d98323..a6e108ea45f 100644 --- a/tools/mapserver_export/ms_main.cpp +++ b/tools/mapserver_export/ms_main.cpp @@ -1,3 +1,17 @@ +/*************************************************************************** + ms_main.cpp + -------------------------------------- + Date : Sun Sep 16 12:33:58 AKDT 2007 + Copyright : (C) 2007 by Gary E. Sherman + Email : sherman at mrcc dot com + *************************************************************************** + * * + * This program is free software; you can redistribute it and/or modify * + * it under the terms of the GNU General Public License as published by * + * the Free Software Foundation; either version 2 of the License, or * + * (at your option) any later version. * + * * + ***************************************************************************/ #include #include #include diff --git a/tools/mapserver_export/msexport.i b/tools/mapserver_export/msexport.i index eeac853a1fc..14b7360e25a 100644 --- a/tools/mapserver_export/msexport.i +++ b/tools/mapserver_export/msexport.i @@ -1,3 +1,17 @@ +/*************************************************************************** + msexport.i + -------------------------------------- + Date : Sun Sep 16 12:34:12 AKDT 2007 + Copyright : (C) 2007 by Gary E. Sherman + Email : sherman at mrcc dot com + *************************************************************************** + * * + * This program is free software; you can redistribute it and/or modify * + * it under the terms of the GNU General Public License as published by * + * the Free Software Foundation; either version 2 of the License, or * + * (at your option) any later version. * + * * + ***************************************************************************/ /* IF YOU REGENERATE THE SWIG WRAPPER FROM THIS INTERFACE FILE, IT PROBABLY * WON'T WORK SINCE THERE SEEMS TO BE A BUG IN THE INTERFACE GENERATION CODE */ diff --git a/tools/mapserver_export/test_export.py b/tools/mapserver_export/test_export.py index 981a090d72f..f0018b783c6 100755 --- a/tools/mapserver_export/test_export.py +++ b/tools/mapserver_export/test_export.py @@ -1,4 +1,19 @@ #!/usr/bin/python +#*************************************************************************** +# test_export.py +# -------------------------------------- +# Date : Sun Sep 16 12:34:29 AKDT 2007 +# Copyright : (C) 2007 by Gary E. Sherman +# Email : sherman at mrcc dot com +#*************************************************************************** +#* * +#* This program is free software; you can redistribute it and/or modify * +#* it under the terms of the GNU General Public License as published by * +#* the Free Software Foundation; either version 2 of the License, or * +#* (at your option) any later version. * +#* * +#***************************************************************************/ + # test script to export a sample QGIS project file to mapserver import ms_export