Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ci: Use veristat's -f flag to read veristat.cfg in run_selftests.sh
This patch adds a VERISTAT_CFG_FILE var to run_veristat.{meta,kernel}.cfg which points to appropariate config file. run_selftests.sh uses this with veristat's -f flag to read the config. For meta bpf objs, this change results in the three bpf objects added in the previous patch being ignored. For kernel bpf objs, this patch should not have a functional effect. Previously, VERISTAT_OBJECTS_GLOB for kernel bpf objs was using awk to essentially do "look at allowlisted BPF objs in this veristat.cfg, ignore comments". Using a broad glob and feeding the veristat.cfg to veristat itself has the same effect. Signed-off-by: Dave Marchevsky <[email protected]>
- Loading branch information