Commit Graph

35 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 000dcc9bda devel/debug: another requirement for testing 2024-11-18 20:28:56 +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 3a14c24a36 devel/debug: the "you're holding it wrong" release ;) 2024-11-15 08:11:30 +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 f045045354 plugins: annotate support tier levels in plugins
PR: https://github.com/opnsense/core/issues/5983
2023-01-18 14:57:32 +01:00
Franco Fichtner 0be58a3abb devel/debug: try our luck here with version 9 2022-07-20 12:40:17 +02:00
Franco Fichtner 4273f2ff17 devel/debug: appease xdebug warning 2022-06-08 11:43:35 +02:00
Franco Fichtner ed7ea5d991 devel/debug: vim renamed again, but better removed from "debug" 2021-09-03 20:31:24 +02:00
Franco Fichtner dc937ddfd7 devel/debug: change to version 1.4 2021-04-20 10:33:16 +02:00
Ad Schellevis 5d63a9ad99 devel/debug: xdebug v3 configuration 2021-04-19 22:08:48 +02:00
Franco Fichtner ff935d691d benchmarks|databases|devel: revision bump 2021-02-15 10:39:22 +01:00
Franco Fichtner fb4f74eca3 devel/debug: prep for final destination Python 3.7 2019-05-20 08:47:00 +02:00
Franco Fichtner 480ce96a26 devel/debug: change phpunit to version 7 2019-01-08 10:19:34 +01:00