Tests can be run with the `bpftrace_test` executable.
The code generation tests are based on the output of the latest stable version of LLVM, so may give errors if run with an older LLVM. They can be excluded by running:
The code generation tests are based on the output of LLVM 5, so may give errors if run with different version. They can be excluded by running: