diff --git a/Dockerfile.debian b/Dockerfile.debian index 7cf40a1e9..5d7d4e549 100644 --- a/Dockerfile.debian +++ b/Dockerfile.debian @@ -75,6 +75,7 @@ COPY --from=builder /app/build/bin/state /usr/local/bin/state COPY --from=builder /app/build/bin/txpool /usr/local/bin/txpool COPY --from=builder /app/build/bin/verkle /usr/local/bin/verkle COPY --from=builder /app/build/bin/caplin-phase1 /usr/local/bin/caplin-phase1 +COPY --from=builder /app/build/bin/caplin-regression /usr/local/bin/caplin-regression EXPOSE 8545 \ 8551 \ diff --git a/cmd/caplin-regression/main.go b/cmd/caplin-regression/main.go index bbb455774..ab114b4c5 100644 --- a/cmd/caplin-regression/main.go +++ b/cmd/caplin-regression/main.go @@ -27,6 +27,8 @@ func main() { step := flag.Int("step", 32, "how often to log performance") pprof := flag.Bool("pprof", true, "turn on profiling") loop := flag.Bool("loop", true, "loop the test in an infinite loop") + testsDir := flag.String("testsDir", "cmd/caplin-regression/caplin-tests", "directory to the tests") + all := flag.Bool("all", true, "loop trhough all the test") flag.Parse() @@ -35,7 +37,7 @@ func main() { return } r, err := regression.NewRegressionTester( - "cmd/caplin-regression/caplin-tests", + *testsDir, ) if *pprof { // Server for pprof