File: README.testsuite

package info (click to toggle)
openscad 2021.01-10
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 36,096 kB
  • sloc: cpp: 53,199; sh: 4,384; ansic: 4,382; python: 1,813; yacc: 853; javascript: 762; lex: 417; lisp: 163; xml: 127; makefile: 118
file content (35 lines) | stat: -rw-r--r-- 2,115 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
While it is tried to have the complete test suite covered by both the build
time tests and the opescad-testrun script, not all pass and are documented
here. (Syntax: test name substring / substring list to match or generic
description, R in parentheses indicates failure in openscad-testrun, B in
parentheses indicates failure at build time).

* echotest_include-overwrite-main, echotest_errors-warnings-included (R): They
  fail because they check program output against expected output, this output
  contains (relative) file paths, and those relative paths are different when
  using openscad-testrun.
* issue1165, issue1215 (RB): There appears to be Z-fighting in the both the
  expected and the actual image, but that can't be expected to be reliable. See
  https://github.com/openscad/openscad/issues/1412 .
* throwntogethertest_issue1089, openscad-cameyeortho_camera-tests,
  openscad-cameyeortho-viewall_camera-tests (RB): seem to just fail with the
  software renderer. See https://github.com/openscad/openscad/issues/1413 .
* 3mfpngtest_cube10, 3mfexport_3mf-export (RB): These fail on big-endian
  machines due to a bug in the code in lib3mf that exports a .3mf file:
  https://github.com/3MFConsortium/lib3mf/issues/160
* cgalbinstlcgalpngtest_bad-stl-pcbvicebar, cgalbinstlcgalpngtest_bad-stl-tardis,
  cgalbinstlcgalpngtest_issue1225, cgalbinstlcgalpngtest_fn_bug (RB): Fail on
  big-endian machines due to a problem with reading binary STL.
* astdumptest_allexpressions, echotest_function-literal-compare,
  echotest_function-literal-tests, echotest_allexpressions, lazyunion-* (RB):
  These tests require experimental features, which are not enabled in release
  builds.

The tests marked with B are explicitly excluded in debian/rules to make things
build without a general "Some tests are expected to fail, continuing anyway"
exception.

Tests can be explicitly excluded from openscad-testrun by passing it
"-- --exclude-regex PATTERN". If no --exclude-regex is specified like
this, a default pattern is used that matches a few testcases that are
known not to be able to work, as described above.