Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Run integration tests for deployment builds #303

Open
kintel opened this Issue · 5 comments

3 participants

@kintel
Owner

Now that the test frameworks supports using the actual OpenSCAD binary, we should have a way of running al such tests using the actual deployment build of OpenSCAD as part of the (snapshot) release procedure.

This should be easy enough to script.

As a start, I'm renaming all such tests to start with the string "openscad".

Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

@chrysn

currently, most tests use openscad_nogui.

for this to work, all special-casing where the _nogui version behaves differently in order to accomodate the test suite will have to be removed. afaik, that mainly affects how numbers are exported. (normalization for NaN, -0, rounding).

path handling might also be affected; the test script (and not the openscad binary) should handle that, and if required set OPENSCADPATH appropriately.

@donbright
Collaborator

i agree... and you are correct, some file i/o and command line parsing is affected, mainly due to encoding issues that QT handles automatically, which boost cannot.

@chrysn
@donbright
Collaborator

the path stuff shows up on Windows where filenames are UTF16 and handled differently for QT gui vs boost.

do you know the name of the python algorithm? sounds very interesting.

@chrysn
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.