Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion plugin/src/sbt-test/sbt-jmh/custom-runner/build.sbt
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
enablePlugins(JmhPlugin)
mainClass in (Jmh, run) := Some("com.example.CustomRunnerApp")
Jmh / run / mainClass := Some("com.example.CustomRunnerApp")
2 changes: 1 addition & 1 deletion plugin/src/sbt-test/sbt-jmh/custom-runner/test
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# compile jmh sources all the way to ready to run bench class files
> jmh:run -i 1 -wi 1 -f 1 .*Hello.*
> Jmh/run -i 1 -wi 1 -f 1 .*Hello.*

# check if the custom file was generated
$ exists custom.out
2 changes: 1 addition & 1 deletion plugin/src/sbt-test/sbt-jmh/generator-error/test
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
# Expect a failure
-> show jmh:managedSources
-> show Jmh/managedSources

2 changes: 1 addition & 1 deletion plugin/src/sbt-test/sbt-jmh/jmh-asm/test
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# compile jmh sources all the way to ready to run bench class files
> jmh:run -i 1 -wi 1 -f 1 -rf csv .*Hello.*
> Jmh/run -i 1 -wi 1 -f 1 -rf csv .*Hello.*

# check if the csv file was generated
$ exists jmh-result.csv
2 changes: 1 addition & 1 deletion plugin/src/sbt-test/sbt-jmh/run/test
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# compile jmh sources all the way to ready to run bench class files
> jmh:run -i 1 -wi 1 -f 1 -rf csv .*Hello.*
> Jmh/run -i 1 -wi 1 -f 1 -rf csv .*Hello.*

# check if the csv file was generated
$ exists jmh-result.csv
2 changes: 1 addition & 1 deletion plugin/src/sbt-test/sbt-jmh/runMain/test
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# use the given class as runner
> jmh:runMain com.example.CustomRunnerApp -i 1 -wi 1 -f 1 .*Hello.*
> Jmh/runMain com.example.CustomRunnerApp -i 1 -wi 1 -f 1 .*Hello.*

# check if the custom file was generated
$ exists custom.out