Commit Graph

17 Commits

Author SHA1 Message Date
Franco Fichtner
421708e175 devel/debug: whitespace 2024-11-28 08:25:20 +01:00
Franco Fichtner
726a450d9e devel/debug: another minor issue with test case handling 2024-11-27 07:44:22 +01:00
Franco Fichtner
bff03eabf2 devel/debug: small issue on -d mode 2024-11-27 07:36:27 +01:00
Franco Fichtner
8cd1be1adb devel/debug: wrap this up with a neat manual page 2024-11-22 11:04:03 +01:00
Franco Fichtner
530ca736f1 devel/debug: some qyua improvements
Allow to run reference tests via -r, does not need /usr/src

Add a -b bootstrap mode which brings in /usr/tests
2024-11-22 08:56:45 +01:00
Franco Fichtner
edae632a23 devel/debug: fix previous 2024-11-21 13:34:35 +01:00
Franco Fichtner
45bc2f35af devel/debug: meet 'qyua', the quick-kyua command ;)
With the tool we can run tests from the source tree given the tests
(or a respective prebuilt set) have been installed in the system.

It creates "_" prefixed files in order to not taint the otherwise
installed tests and set up the few things that the build would
for source tree based test files.

Underneath eventually it runs kyua-test or kyua-debug depending
on the debug command line flag -d.  -a runs all the tests in the
source tree and -l lists them.

For now only supports .sh files and both /usr/src and /usr/tests
have to be manually managed, but more to come.
2024-11-21 13:22:20 +01:00
Franco Fichtner
598cf8ccd3 devel/debug: will not be needing this then
Still provide scapy and jq for test coverage reasons.  For reference:

  1. Single test via:

    # kyua debug -k /usr/tests/sys/netpfil/pf/Kyuafile killstate:match

  2. Running test suite via:

    # kyua test -k /usr/tests/sys/netpfil/pf/Kyuafile
2024-11-18 17:14:04 +01:00
Franco Fichtner
2e82b51f63 devel/debug: one more 2024-11-13 20:19:08 +01:00
Franco Fichtner
ac95208b61 devel/debug: restructure again for maximum effect 2024-11-13 20:17:22 +01:00
Franco Fichtner
dc353664c7 devel/debug: cleanup before and after, CTRL-C being used too much 2024-11-13 15:04:37 +01:00
Franco Fichtner
b62c92870c devel/debug: minor script improvements 2024-11-13 13:45:04 +01:00
Franco Fichtner
955306a03f debug/devel: fix scapy prefix and pivot to atf port 2024-11-13 08:46:29 +01:00
Franco Fichtner
045a3b8a8e devel/debug: add opnsense-atf and related glue 2024-11-13 08:11:12 +01:00
Franco Fichtner
4273f2ff17 devel/debug: appease xdebug warning 2022-06-08 11:43:35 +02:00
Ad Schellevis
5d63a9ad99 devel/debug: xdebug v3 configuration 2021-04-19 22:08:48 +02:00
Ad Schellevis
4698888365 debug package, add xdebug settings to /usr/local/etc/php/ for better detachement. 2018-05-14 11:43:32 +02:00