Hi, On Tue, Feb 07, 2023 at 07:59:25PM -0500, selva.n...@gmail.com wrote: > From: Selva Nair <selva.n...@gmail.com> > > - Minor changes to the build system to include some > dependencies for Windows build > > - test_tls_crypt not built as it will pull in win32.c and > its dependencies > > - If cross-compiling, "make check" will only build the tests but not > run any. Copy to Windows and run manually. Executables are in > <buid-dir>/tests/unit_tests/openvpn/.libs/ and these depend on > cmocka.dll in addition to openssl libs that some tests link to.
I am something wrong, or I'm missing some bits. I took this patch, on top of commit e80720ef939 ("top of master as of now"). MinGW on Ubuntu. "autoreconf -iv", make clean, then make && make check. make check claims make[4]: Entering directory '/home/gert/mingw/openvpn.git/tests' ================== All 0 tests passed ================== ... but it seems to have done... nothing? gert@ubuntu2204:~/mingw/openvpn.git$ ls -l tests/unit_test/openvpn/.libs ls: cannot access 'tests/unit_test/openvpn/.libs': No such file or directory ... given argv_testdriver exists, I should find "something" with argv*.o* here... gert@ubuntu2204:~/mingw/openvpn.git$ find . -name "*argv*o" ./tests/unit_tests/openvpn/.deps/argv_testdriver-mock_get_random.Po ./tests/unit_tests/openvpn/.deps/tls_crypt_testdriver-argv.Po ./tests/unit_tests/openvpn/.deps/argv_testdriver-test_argv.Po ./tests/unit_tests/openvpn/.deps/argv_testdriver-mock_msg.Po ./tests/unit_tests/openvpn/.deps/argv_testdriver-platform.Po ./tests/unit_tests/openvpn/.deps/argv_testdriver-buffer.Po ./tests/unit_tests/openvpn/.deps/pkt_testdriver-argv.Po ./tests/unit_tests/openvpn/.deps/argv_testdriver-argv.Po ./src/openvpn/.deps/tls_crypt_testdriver-argv.Po ./src/openvpn/.deps/argv.Po ./src/openvpn/.deps/argv_testdriver-win32-util.Po ./src/openvpn/.deps/argv_testdriver-platform.Po ./src/openvpn/.deps/argv_testdriver-buffer.Po ./src/openvpn/.deps/pkt_testdriver-argv.Po ./src/openvpn/.deps/argv_testdriver-argv.Po ./src/openvpn/argv.o ... so it seems as if it did the "make depend" dance for the unit_tests, but then didn't compile anything for real. Did I apply stuff in the wrong order? Do I need to more forcefully clean my build tree? slightly puzzled... gert -- "If was one thing all people took for granted, was conviction that if you feed honest figures into a computer, honest figures come out. Never doubted it myself till I met a computer with a sense of humor." Robert A. Heinlein, The Moon is a Harsh Mistress Gert Doering - Munich, Germany g...@greenie.muc.de
signature.asc
Description: PGP signature
_______________________________________________ Openvpn-devel mailing list Openvpn-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/openvpn-devel