Skip to content

Commit

Permalink
Merge pull request #267 from xuwei-k/slash-syntax
Browse files Browse the repository at this point in the history
use new slash syntax
  • Loading branch information
eed3si9n authored Oct 16, 2024
2 parents fd1b61a + fdbb984 commit b6340ee
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
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

0 comments on commit b6340ee

Please sign in to comment.