diff options
| author | Marius Kintel <marius@kintel.net> | 2013-03-12 02:14:00 (GMT) | 
|---|---|---|
| committer | Marius Kintel <marius@kintel.net> | 2013-03-12 02:14:00 (GMT) | 
| commit | 6b8a5e266ca1725e35e76aef0caa639fe77fdc48 (patch) | |
| tree | 393a8feff35b0970b3b7da62334c0200a5081b4c /tests | |
| parent | 5f03fbee6bbaf411e2bd4095c9911fe8dc6df210 (diff) | |
Handle files with non-ascii filenames. Only rudimentary tested. Fixes #113 #290
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/CMakeLists.txt | 8 | ||||
| -rw-r--r-- | tests/regression/openscad-nonascii/sfære-expected.csg | 3 | 
2 files changed, 11 insertions, 0 deletions
| diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt index 6a5ec74..5eecaae 100644 --- a/tests/CMakeLists.txt +++ b/tests/CMakeLists.txt @@ -920,6 +920,14 @@ add_cmdline_test(throwntogethertest SUFFIX png FILES ${THROWNTOGETHERTEST_FILES}  add_cmdline_test(cgalstlsanitytest SUFFIX txt FILES ${CGALSTLSANITYTEST_FILES})  # Tests using the actual OpenSCAD binary + +# non-ASCII filenames +add_cmdline_test(openscad-nonascii EXE ${GUI_BINPATH} ARGS -o  +                 SUFFIX csg  +                 FILES ${CMAKE_SOURCE_DIR}/../testdata/scad/misc/sfære.scad) + + +# Image output  add_cmdline_test(openscad-cgalpng EXE ${GUI_BINPATH} ARGS --render -o                    EXPECTEDDIR cgalpngtest SUFFIX png                    FILES ${OPENSCAD-CGALPNG_FILES}) diff --git a/tests/regression/openscad-nonascii/sfære-expected.csg b/tests/regression/openscad-nonascii/sfære-expected.csg new file mode 100644 index 0000000..e1ee757 --- /dev/null +++ b/tests/regression/openscad-nonascii/sfære-expected.csg @@ -0,0 +1,3 @@ +group() { +	sphere($fn = 0, $fa = 12, $fs = 2, r = 10); +} | 
