Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 5eecd2a

Browse files
committed
TST: explicit csh usage in tests
1 parent c80988b commit 5eecd2a

4 files changed

Lines changed: 9 additions & 9 deletions

File tree

tests/pipe_proc_tests/apod.com

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#! /bin/sh
1+
#! /bin/csh
22

33
nmrPipe -in ./time_complex.fid \
44
| nmrPipe -fn APOD -qName SP -q1 0.35 -q2 0.98 -q3 2.0 \

tests/pipe_proc_tests/sine.com

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#! /bin/sh
1+
#! /bin/csh
22

33
nmrPipe -in ./time_complex.fid \
44
| nmrPipe -fn SINE -off 0.35 -end 0.98 -pow 2 -c 1.0 \

tests/pipe_proc_tests/sp.com

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#! /bin/sh
1+
#! /bin/csh
22

33
nmrPipe -in ./time_complex.fid \
44
| nmrPipe -fn SP -off 0.35 -end 0.98 -pow 2 -c 1.0 \

tests/test_pipe_proc.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,8 @@ def _standard_args(func_name, num_files):
3939
""" Generate a set of standard """
4040
glue_files = [func_name+str(i + 1)+'.glue' for i in range(num_files)]
4141
pipe_files = [func_name+str(i + 1)+'.dat' for i in range(num_files)]
42-
pipe_script = func_name + '.com'
43-
glue_script = func_name + '.py'
42+
pipe_script = './' + func_name + '.com'
43+
glue_script = './' + func_name + '.py'
4444
return glue_script, pipe_script, glue_files, pipe_files
4545

4646
def _standard_test(func_name, num_files):
@@ -124,8 +124,8 @@ def test_rft():
124124
pipe_files = ['rft1.dat', 'rft2.dat', 'rft3.dat', 'rft4.dat',
125125
'rft5.dat', 'rft6.dat', 'rft7.dat', 'rft8.dat',
126126
'rft12.dat', 'rft13.dat', 'rft14.dat']
127-
pipe_script = 'rft.com'
128-
glue_script = 'rft.py'
127+
pipe_script = './rft.com'
128+
glue_script = './rft.py'
129129
return _perform_test(glue_script, pipe_script, glue_files, pipe_files)
130130

131131
def test_ha():
@@ -139,8 +139,8 @@ def test_ht():
139139
'ht7.glue', 'ht8.glue']
140140
pipe_files = ['ht1.dat', 'ht2.dat', 'ht3.dat', 'ht5.dat', 'ht6.dat',
141141
'ht7.dat', 'ht8.dat']
142-
pipe_script = 'ht.com'
143-
glue_script = 'ht.py'
142+
pipe_script = './ht.com'
143+
glue_script = './ht.py'
144144
return _perform_test(glue_script, pipe_script, glue_files, pipe_files)
145145

146146
##########################

0 commit comments

Comments
 (0)