apjanke / octave-testify

New BIST (Built-In Self Test) functions for GNU Octave
GNU General Public License v3.0
4 stars 2 forks source link

Forge tests silently abort after "symbolic" #48

Closed apjanke closed 5 years ago

apjanke commented 5 years ago

My tests runs are aborting after testing the symbolic package. Looks a lot like #44.

octave-testify-ForgePkgTester-2019-03-19_13-31-31.zip

apjanke commented 5 years ago

Something in python_ipc_driver is erroring, and this is causing doctest_run_tests to error out.

debug> dbstack
stopped in:

  -->                 python_ipc_driver at line 59 [/Users/janke/Library/Application Support/Octave.app/5.1.0/pkg/symbolic-2.7.1/private/python_ipc_driver.m]
                             python_cmd at line 164 [/Users/janke/Library/Application Support/Octave.app/5.1.0/pkg/symbolic-2.7.1/python_cmd.m]
                      doctest_run_tests at line 49 [/Users/janke/Library/Application Support/Octave.app/5.1.0/pkg/doctest-0.6.1/private/doctest_run_tests.m]
                  doctest_run_docstring at line 96 [/Users/janke/Library/Application Support/Octave.app/5.1.0/pkg/doctest-0.6.1/private/doctest_run_docstring.m]
                        doctest_collect at line 179 [/Users/janke/Library/Application Support/Octave.app/5.1.0/pkg/doctest-0.6.1/private/doctest_collect.m]
                        doctest_collect at line 117 [/Users/janke/Library/Application Support/Octave.app/5.1.0/pkg/doctest-0.6.1/private/doctest_collect.m]
                                doctest at line 289 [/Users/janke/Library/Application Support/Octave.app/5.1.0/pkg/doctest-0.6.1/doctest.m]
                          __test_pkgs__ at line 156 [/Users/janke/local/repos/octave-testify/inst/__test_pkgs__.m]
      install_and_test_forge_pkg_unsafe at line 290 [/Users/janke/local/repos/octave-testify/inst/+testify/+internal/ForgePkgTester.m]
             install_and_test_forge_pkg at line 224 [/Users/janke/local/repos/octave-testify/inst/+testify/+internal/ForgePkgTester.m]
            install_and_test_forge_pkgs at line 173 [/Users/janke/local/repos/octave-testify/inst/+testify/+internal/ForgePkgTester.m]
            install_and_test_forge_pkgs at line 48 [/Users/janke/local/repos/octave-testify/inst/+testify/install_and_test_forge_pkgs.m]
debug>

That location in doctest_run_tests is the same skip-evaluation code that was causing interval to bomb.

Worked around in https://github.com/apjanke/octave-testify/commit/918e81bacf6a6493a6014313d5324b4e71e01c76.

apjanke commented 5 years ago

Okay, it's running all the way through to "zeromq" now. Re-enabled doctest by default in https://github.com/apjanke/octave-testify/commit/383a8c9a3f47425b7282146e24750c38b3112887. Closing.