From c07e731c588072185cd02e6b884f864b4c189bea Mon Sep 17 00:00:00 2001 From: apv Date: Thu, 3 Aug 2017 12:00:19 +0300 Subject: [PATCH] Test for 0024909: SIGSEGV in buildsweep --- tests/bugs/modalg_7/bug24909_1 | 28 ++++++++++++++++++++++++++++ tests/bugs/modalg_7/bug24909_2 | 31 +++++++++++++++++++++++++++++++ tests/bugs/modalg_7/bug24909_3 | 32 ++++++++++++++++++++++++++++++++ 3 files changed, 91 insertions(+) create mode 100644 tests/bugs/modalg_7/bug24909_1 create mode 100644 tests/bugs/modalg_7/bug24909_2 create mode 100644 tests/bugs/modalg_7/bug24909_3 diff --git a/tests/bugs/modalg_7/bug24909_1 b/tests/bugs/modalg_7/bug24909_1 new file mode 100644 index 0000000000..0b71212199 --- /dev/null +++ b/tests/bugs/modalg_7/bug24909_1 @@ -0,0 +1,28 @@ +puts "TODO OCC24909 ALL: Tcl Exception: Buildsweep : Not Done" + +puts "TODO OCC24909 ALL: An exception was caught" +puts "TODO OCC24909 ALL: \\*\\* Exception \\*\\*.*" + +puts "TODO OCC24909 ALL: TEST INCOMPLETE" + +puts "========" +puts "OCC24909" +puts "========" +puts "" +################################## +# 0024909: SIGSEGV in buildsweep +################################## + +restore [locate_data_file bug24909_sweep3-draw-Sweep-0-spine.brep] Sweep-0-spine + +mksweep Sweep-0-spine +setsweep -CF + +restore [locate_data_file bug24909_sweep3-draw-Sweep-0-section-00-Sketch.brep] Sweep-0-section-00-Sketch + +addsweep Sweep-0-section-00-Sketch + +restore [locate_data_file bug24909_sweep3-draw-Sweep-0-section-01-Sketch001.brep] Sweep-0-section-01-Sketch001 +addsweep Sweep-0-section-01-Sketch001 + +buildsweep Sweep diff --git a/tests/bugs/modalg_7/bug24909_2 b/tests/bugs/modalg_7/bug24909_2 new file mode 100644 index 0000000000..c70f3fc7f1 --- /dev/null +++ b/tests/bugs/modalg_7/bug24909_2 @@ -0,0 +1,31 @@ +puts "TODO OCC24909 ALL: Tcl Exception: Buildsweep : Not Done" + +puts "TODO OCC24909 ALL: An exception was caught" +puts "TODO OCC24909 ALL: \\*\\* Exception \\*\\*.*" + +puts "TODO OCC24909 ALL: TEST INCOMPLETE" + +puts "========" +puts "OCC24909" +puts "========" +puts "" +################################## +# 0024909: SIGSEGV in buildsweep +################################## + +circle c1 0 0 0 40 +mkedge e1 c1 +wire w1 e1 +tcopy w1 Sketch002 +tcopy w1 Sketch001 +renamevar w1 Sketch +trotate Sketch 0 0 0 0. 1. 0. 90 +ttranslate Sketch 0. 0. 75. +trotate Sketch001 0 0 0 0. 1. 0. 90 +ttranslate Sketch001 0. 0. -75. +ttranslate Sketch002 50. 0. 0. +mksweep Sketch002 +setsweep -CF +addsweep Sketch001 +addsweep Sketch +buildsweep Sweep diff --git a/tests/bugs/modalg_7/bug24909_3 b/tests/bugs/modalg_7/bug24909_3 new file mode 100644 index 0000000000..13a024d834 --- /dev/null +++ b/tests/bugs/modalg_7/bug24909_3 @@ -0,0 +1,32 @@ +puts "TODO OCC24909 ALL: Tcl Exception: Buildsweep : Not Done" +puts "TODO OCC24909 ALL: TEST INCOMPLETE" + +puts "========" +puts "OCC24909" +puts "========" +puts "" +################################## +# 0024909: SIGSEGV in buildsweep +################################## + +restore [locate_data_file bug24909_minihyd-draw-BezCurve.brep] BezCurve + +ttranslate BezCurve 0 -8 0 +explode BezCurve E +wire Sweep001-0-spine BezCurve_1 +mksweep Sweep001-0-spine +setsweep -CF +circle Circle-curve 0 0 0 18 +mkedge Circle-edge Circle-curve 0 0 +wire Circle Circle-edge +trotate Circle 0 0 0 0.577350269189625731 0.577350269189625731 0.577350269189625731 120 +ttranslate Circle 0 -71 203.5 +addsweep Circle +circle Circle001-curve 0 0 0 16 +mkedge Circle001-edge Circle001-curve 0 0 +wire Circle001 Circle001-edge +trotate Circle001 0 0 0 0.577350269189625731 0.577350269189625731 0.577350269189625731 120 +ttranslate Circle001 0 -71 203.5 +addsweep Circle001 + +buildsweep Sweep001 -C -S -- 2.39.5