Perform all test cases even rather than exit on first failure.
Perform all test cases even rather than exit on first failure.

With some code refactoring/cleanup.

Former-commit-id: a04ee8b8c2043c3fde6d2d2256b0dd185a926390
Trass3r/Halide,Trass3r/Halide,Trass3r/Halide,darkbuck/Halide,Trass3r/Halide,Trass3r/Halide,darkbuck/Halide,darkbuck/Halide,darkbuck/Halide,darkbuck/Halide,Trass3r/Halide,darkbuck/Halide,darkbuck/Halide,Trass3r/Halide