iovisor / ubpf

Userspace eBPF VM
Apache License 2.0
814 stars 132 forks source link

Improve CLI handling by permitting either std::cin or file for program data #513

Closed Alan-Jowett closed 2 months ago

Alan-Jowett commented 2 months ago

This pull request primarily refactors the way custom tests are set up and executed in the custom_tests directory. The changes include modifying the test command in CMakeLists.txt, adding a new function to get the program string from command line arguments or standard input, and updating various test files to use this new function.

Changes to test setup:

Updates to test files:

Removal of unnecessary files:

coveralls commented 2 months ago

Coverage Status

coverage: 80.354% (-1.0%) from 81.344% when pulling 66cf27cd7f79a99469949c523b8ee2f326a83d04 on Alan-Jowett:improve_cli_handling into a0f7abbb0271149560d1ddd493b0bb59110fac11 on iovisor:main.