Skip to content

tests: extend test scripts to cover OpenBSD

Rodrigo Muino Tomonari requested to merge github/fork/qbit/openbsd_tests into master
Checklist
  • make -j4 test
  • tests and/or benchmarks are included ( \o/ )
  • commit message follows commit guidelines
Affected core subsystem(s)

test


Currently a large portion of the tests fail on OpenBSD. Most fail because node expects to be a to determine the full path of a executable, which isn't possible on OpenBSD. This PR works around that issue by setting common.execPathOpenBSD as early as possible. Then we use this variable later in the tests when we need to know the full path of the executable.

A few of the other tests expose some bugs in libuv that I will track down pretty soon here.

Anyway - with this patch set, the tests complete as expected:

[----------] Global test environment tear-down
[==========] 68 tests from 8 test cases ran. (193 ms total)
[  PASSED  ] 68 tests.
/usr/local/bin/python2.7 tools/test.py --mode=release -J \
        default \
        addons addons-napi \
        doctool
[06:05|% 100|+ 2125|-   0]: Done

Merge request reports

Loading