Jim Ramsay
f56c487456
test: tidy up integration tests
...
Signed-off-by: Jim Ramsay <i.am@jimramsay.com>
2023-02-28 12:20:33 -05:00
Jim Ramsay
00d7a7bde3
Fix 'wayvncctl wayvnc-exit' return code
...
When shutting down wayvnc, it is likely the IPC connection will drop
before the IPC response ia received, so count dicsonnection as success.
Signed-off-by: Jim Ramsay <i.am@jimramsay.com>
2023-02-27 06:33:43 -05:00
Jim Ramsay
80c25e7820
Add event check to integration test
...
Signed-off-by: Jim Ramsay <i.am@jimramsay.com>
2023-02-27 06:01:27 -05:00
Jim Ramsay
2ffb5476e2
Add verbosity to integration test timeout loops
...
Signed-off-by: Jim Ramsay <i.am@jimramsay.com>
2023-02-27 06:01:27 -05:00
Jim Ramsay
ba99e7180e
Add vncdotool for integration tests
...
Signed-off-by: Jim Ramsay <i.am@jimramsay.com>
2023-02-26 11:37:55 -05:00
Jim Ramsay
ba91cbd71f
Add initial integration test to CI
...
The integration test spins up a headless sway, and wayvnc, and exercises
a handful of wayvncctl commands to ensure both wayvnc and wayvncctl
retain basic functionality.
Signed-off-by: Jim Ramsay <i.am@jimramsay.com>
2023-01-29 09:09:06 -05:00
Jim Ramsay
177ea507e3
Allow reflow of multiline text
...
Signed-off-by: Jim Ramsay <i.am@jimramsay.com>
2023-01-12 17:47:50 -05:00
Jim Ramsay
104040291b
Add option_parser_print_usage
...
Signed-off-by: Jim Ramsay <i.am@jimramsay.com>
2023-01-12 17:47:50 -05:00
Jim Ramsay
d1e1f62d1e
Refactor option-parser table printing code for reuse
...
Signed-off-by: Jim Ramsay <i.am@jimramsay.com>
2023-01-08 12:42:38 -05:00
Jim Ramsay
522b1deb28
Convert wayvncctl subcommands to use option-parser
...
Also cleans up access to unparsed options.
Signed-off-by: Jim Ramsay <i.am@jimramsay.com>
2023-01-02 16:38:46 -05:00
Andri Yngvason
65ed029e22
Add meson.build for unit tests
2023-01-02 09:32:15 +00:00
Andri Yngvason
474ce23d42
Implement custom option parser
2023-01-01 09:12:29 +00:00
Andri Yngvason
0edaded063
Remove dead code
2020-07-11 20:53:30 +00:00
Andri Yngvason
8eb6658162
Create a unit test for the damage checker
2020-05-10 12:21:10 +00:00