File: automate-tests.parch

package info (click to toggle)
pyferret 7.6.5-10
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 138,136 kB
  • sloc: fortran: 240,609; ansic: 25,235; python: 24,026; sh: 1,618; makefile: 1,123; pascal: 569; csh: 307; awk: 18
file content (63 lines) | stat: -rw-r--r-- 2,008 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
Author: Alastair McKinstry <mckinstry@debian.org>
Description: local changes to make tests automated under Debian
Last-Updated: 2016-03-01
Forwarded: not-needed

Index: pyferret-7.4.3/bench/run_all
===================================================================
--- pyferret-7.4.3.orig/bench/run_all
+++ pyferret-7.4.3/bench/run_all
@@ -56,6 +56,8 @@
 
 # *sh* 4/2015 automatically run clean_draconian at the end
 
+setenv HOSTTYPE debian
+
 umask 002     #  make all files group deletable  3/16
 
 set rhlev = "0"
@@ -77,7 +79,9 @@ if ($rhlev == six) then
   echo six
 endif
 
-echo "Enter the path (including filename) to the FERRET version of choice"
+# echo "Enter the path (including filename) to the FERRET version of choice"
+set fver /usr/bin/ferret_c
+
 set fver = $<
 if ( ! -e  $fver ) then
    echo File $fver not exist.
@@ -94,7 +98,7 @@ endif
 # if running ef tests, which external function libraries to use
 set efdir = n
 echo "Enter the directory containing the external function libraries or . to skip those tests"
-set efdir = $<
+set efdir = /usr/lib/ferret-vis/external_functions
 if  ( $efdir == "." ) then
   set do_shared_obj = "n"
 else 
@@ -108,11 +112,12 @@ endif
 
 # background info to go in the benchmark file
 echo "Enter your name"
-set bmarker = $<
+set bmarker = "Debian Buildbot"
+echo $bmarker
 echo "Enter comment about this benchmark or this version of Ferret"
 # *kob* 4.01 linux needs quotes around the input or spaces throw it off
-set bcomment = "$<"
-
+set bcomment = "Automated Debian tests"
+echo $bcomment
 
 set date_stamp = `date +'%d%h%yAT%H%M'|tr '[A-Z]' '[a-z]'`
 set log_file = "all_${date_stamp}.${machine}_log"
@@ -132,7 +137,7 @@ if ( ! -e  $machine_stream ) then
    echo To create $machine_stream compile and run make_stream_file.F
    echo Then rename stream10by5.unf to $machine_stream
    echo -n 'Continue anyway? (answer "y" for yes)'
-   set answer = $<
+   set answer = "y"
    if ($answer != "y") exit 0
 endif
 rm -f stream_data_link.unf