mirror of
git://projects.qi-hardware.com/fped.git
synced 2024-12-23 05:38:36 +02:00
02518334f2
cores. - test/structure, test/del_vec, test/frame_ref, test/meas_qual, test/del_frame: added newline after "unit" directive (reported by Xiangfu Liu) - test/Common: new function expect_sed for post-processing of test output - test/tsort: use expect_sed to ignore "(core dumped") after "Aborted" - test/Common: if there is a file called "core", don't run it - Makefile (clean): remove test/core git-svn-id: http://svn.openmoko.org/trunk/eda/fped@5978 99fdad57-331a-0410-800a-d7fa5415bdb3
71 lines
1.1 KiB
Bash
Executable File
71 lines
1.1 KiB
Bash
Executable File
#!/bin/sh
|
|
. ./Common
|
|
|
|
###############################################################################
|
|
|
|
fped_dump "delete vector: it disappears" <<EOF
|
|
v: vec @(0mm, 0mm)
|
|
%del v
|
|
EOF
|
|
expect <<EOF
|
|
/* MACHINE-GENERATED ! */
|
|
|
|
package "_"
|
|
unit mm
|
|
|
|
EOF
|
|
|
|
#------------------------------------------------------------------------------
|
|
|
|
fped_dump "delete vector: references disappear" <<EOF
|
|
v: vec @(0mm, 0mm)
|
|
line v v
|
|
%del v
|
|
EOF
|
|
expect <<EOF
|
|
/* MACHINE-GENERATED ! */
|
|
|
|
package "_"
|
|
unit mm
|
|
|
|
EOF
|
|
|
|
#------------------------------------------------------------------------------
|
|
|
|
fped_dump "delete vector: measurements disappear (same frame)" <<EOF
|
|
v: vec @(0mm, 0mm)
|
|
meas v -> v
|
|
%del v
|
|
EOF
|
|
expect <<EOF
|
|
/* MACHINE-GENERATED ! */
|
|
|
|
package "_"
|
|
unit mm
|
|
|
|
EOF
|
|
|
|
#------------------------------------------------------------------------------
|
|
|
|
fped_dump "delete vector: measurements disappear (other frame)" <<EOF
|
|
frame f {
|
|
v: vec @(0mm, 0mm)
|
|
}
|
|
frame f @
|
|
meas f.v -> f.v
|
|
%del f.v
|
|
EOF
|
|
expect <<EOF
|
|
/* MACHINE-GENERATED ! */
|
|
|
|
frame f {
|
|
}
|
|
|
|
package "_"
|
|
unit mm
|
|
|
|
frame f @
|
|
EOF
|
|
|
|
###############################################################################
|