Is there a regression test suite we can run after an installation?

28 views
Skip to first unread message

ksf...@gmail.com

unread,
Mar 11, 2016, 10:46:54 AM3/11/16
to yacas
Hello,

Is there a builtin regression test suite in YACAS after installing it?

Something like the commands run_testsuite() in maxima or __run_test_suite__ in octave.

Best regards
Knut

Grzegorz Mazur

unread,
Mar 11, 2016, 11:05:42 AM3/11/16
to yacas
Hi Knut,

There is one, but not fully functional. What I mean is that there is a regression test suite. It can be readily run when you compile the program yourself. It is eg automatically run after every commit to avoid regressions. Unfortunately, there is no mechanism to easily run it when you install binaries. Actually, the tests are not even shipped with binaries.

On the brighter note: there should be one, and it's not going to be difficult to provide it building upon the existing mechanism. I've put your request to the bugtracker: https://github.com/grzegorzmazur/yacas/issues/167 . Should be ready by the next release.

Thanks,
Grzesiek

Knut Flock

unread,
Mar 12, 2016, 9:43:52 AM3/12/16
to yacas
Thanks Grzesiek,

Looking forward to it.

YACAS is simple to build compared to maxima (not to bad) and octave ( a horror story if you want it all ) so in that sense going with the source is not to bad.

I have learned that running the regression tests after a binary installation is a good practice to uncover potential pitfalls early. In my mind the test suites are also a nice place to look for inspiration on how to do things.

Best regards
Knut
Reply all
Reply to author
Forward
0 new messages