Back in 2020, we had the regression tests successfully running on
Windows, from the command line with these sorts of commands:

  nmake -f Makefile.win32 _test
  nmake -f Makefile.win32 _test_one

Now, I can't get that to work, and I'm stuck trying to figure out why.
Note, I DON'T mean that the tests are failing - they're not.  Rather,
I currently can't get the test nsd to start up and run the tests at all!

When run from nmake like the above, I get no useful output anywhere,
just a "return code '0xc0000022'" message from nmake.

If I copy that generated command line and run the it manually at the
Windows command prompt, it then DOES write to "tests/nsd.log", where I
see errors like this:

  [14/Mar/2023:13:17:45][16420.4aa0][-main:test-] Error: modload: 
Z:/src/web/ns-fork-pub/naviserver/tests/../nslog/nslog.dll: couldn't load 
library "Z:/src/web/ns-fork-pub/naviserver/tests/../nslog/nslog.dll": 
permission denied
  [14/Mar/2023:13:17:45][16420.4aa0][-main:test-] Fatal: modload: failed to 
load module 'Z:/src/web/ns-fork-pub/naviserver/tests/../nslog/nslog.dll'

Yes, it says "permission denied", but I have no idea why!  AFAICT that
nslog.dll' file *IS* readable by everybody in every other context.

Note that in that same Windows Command Prompt I can run tclsh and see
that the file IS readable:

  Z:\src\web\ns-fork-pub\naviserver> tclsh
  % info patchlevel
  8.6.12
  % file readable Z:/src/web/ns-fork-pub/naviserver/tests/../nslog/nslog.dll
  1
  % exit

I suspect I'm overlooking something.  Any debugging suggestions for me?

Btw, once I install Naviserver I can start it up using the
"simple-config.tcl" just fine, but I don't remember if it's feasible
to run the tests that way.  In the past I definitely ran them using
the build directory like the above, not after installing.

-- 
Andrew Piskorski <a...@piskorski.com>


_______________________________________________
naviserver-devel mailing list
naviserver-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/naviserver-devel

Reply via email to