1
! ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
3
! MIDAS procedure superverify.prg will
4
! execute the verifications and all TUTORIAL commands
5
! and optionally the ESO verifications
7
! K. Banse 971027, 991214, 040901, 070822, 120131
9
! ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
11
define/param p1 NO C "Enter wait/nowait in tutorials:"
12
if p1(1:1) .eq. "N" then
13
aux_mode(8) = 1 !wait/secs nn => NoOp
16
! see, if we have the ESO verifications installed
17
inputi = m$exist("MIDASHOME:ESO-verifications/README")
18
if inputi .eq. 0 then !no, not installed
21
define/param p2 YES C "Enter YES or NO for ESO verifications:"
23
define/param p3 NEW C "Enter param2 (NEW/OLD) of the verify procedure:"
25
WRITE/OUT CLEAR/CONTEXT -ALL
27
set/midas keyw=500,300 !enlarge keyword base
30
WRITE/OUT "@@ veriall"
34
WRITE/OUT TUTORIAL/FILTER AUTO
38
WRITE/OUT TUTORIAL/GRAPHIC AUTO
42
WRITE/OUT TUTORIAL/ITT AUTO
46
WRITE/OUT TUTORIAL/TABLE AUTO
50
WRITE/OUT TUTORIAL/FIT AUTO
54
WRITE/OUT SET/CONTEXT CLOUD
56
WRITE/OUT TUTORIAL/CLOUD AUTO
61
WRITE/OUT SET/CONTEXT ECHELLE
63
WRITE/OUT TUTORIAL/ECHELLE AUTO
68
WRITE/OUT Tutorial of the inventory package
73
WRITE/OUT SET/CONTEXT IRSPEC
75
WRITE/OUT TUTORIAL/IRSPEC AUTO
80
WRITE/OUT SET/CONTEXT LONG
82
WRITE/OUT TUTORIAL/LONG AUTO
87
WRITE/OUT SET/CONTEXT MOS
89
WRITE/OUT TUTORIAL/MOS AUTO
94
WRITE/OUT SET/CONTEXT WAVELET
96
WRITE/OUT TUTORIAL/WAVELET
101
WRITE/OUT SET/CONTEXT DO
103
WRITE/OUT TUTORIAL/DO AUTO
108
write/out set/context ccdred
110
write/out tutorial/mosaic
115
write/out set/context TSA
117
write/out testing TSA
118
$$ cp $MIDASHOME/$MIDVERS/contrib/tsa/test/* .
120
if tsa_result(1:6) .ne. "PASSED" return/exit
122
aux_mode(8) = 0 !reenable wait/secs command
124
! ................................
125
! finally do the ESO verifications
126
! ................................
128
if p2(1:1) .eq. "Y" then
130
if p3(1:1) .eq. "N" then !ensure that we pass option=NEW
137
write/out ... procedure `superverify' with ESO verifications successfully terminated ...
140
write/out ... procedure `superverify' successfully terminated ...