Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Seitosh
Seitosh
Commits
e688b4f0
Commit
e688b4f0
authored
Nov 28, 2016
by
thomas.forbriger
Browse files
teseco [TASK]: add test case for new feature
parent
6494de1b
Changes
1
Show whitespace changes
Inline
Side-by-side
src/ts/wf/testcases/Makefile.teseco
View file @
e688b4f0
...
...
@@ -28,19 +28,38 @@
# ============================================================================
#
# test teseco
# -----------
#
# create test signals
t1_sig.xxx.sff
:
/bin/rm
-fv
$@
tesiff
$@
# plot test signals
t1_sig.xxx.ps
:
t1_sig.xxx.sff
stuplo
-d
$@
/cps
-t
-a
-s
x
-i
-Y
0.6
-V
-c
fTdtF
\
-X
"Zeit (UT)"
-l
3,2,1
-h
1.,1.,1.4,1.3
$<
# tests are based on traces 3, 4, and 5
# subtract 3, 4, and 5 from each of the traces
# three traces are output (numbers are signals in t1_sig.xxx.sff)
# out_1 = 3 - 3 - 4 - 5 = -4 -5
# out_2 = 4 - 3 - 4 - 5 = -3 -5
# out_3 = 5 - 3 - 4 - 5 = -3 -4
t1_teseco1.xxx.sff
:
t1_sig.xxx.sff
teseco
-v
-o
$@
$<
t:3-5
$<
t:3,5
$<
t:4
# subtract scaled versions
t1_teseco2.xxx.sff
:
t1_sig.xxx.sff
teseco
-v
-o
$@
$<
t:3-5
$<
f:-3. t:5
$<
f:0.7 t:4
$<
t:3 f:0.7
t1_teseco1.xxx.ps t1_teseco2.xxx.ps
:
\
# add traces
t1_teseco3.xxx.sff
:
t1_sig.xxx.sff
teseco
-v
-o
-a
$@
$<
t:3 f:0.1
$<
f:2. t:4
$<
f:-5.0 t:5
t1_teseco1.xxx.ps t1_teseco2.xxx.ps t1_teseco3.xxx.ps
:
\
t1_teseco%.xxx.ps: t1_sig.xxx.sff t1_teseco%.xxx.sff
stuplo
-d
$@
/cps
-t
-a
-s
x
-i
-Y
0.6
-V
-c
fTdtF
\
stuplo
-d
$@
/cps
-t
-a
-s
x
-i
-Y
0.6
-V
-c
fTdtF
-g
\
-X
"Zeit (UT)"
-l
3,2,1
-h
1.,1.,1.4,1.3
-C
\
$(
word
1,
$^
)
t:3-5 nc:
$(
word
2,
$^
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment