Skip to content

Commit

Permalink
Make sure the test runner gets rebuilt whenever ponyc gets rebuilt (#…
Browse files Browse the repository at this point in the history
…4362)

Prior to this commit, a call to `make build` would not rebuild the
test `runner` whenever `ponyc` would get rebuilt. This could
cause some confusion, especially if `libponyrt` changed, as one
would expect `make build` to ensure the `runner` is built using the
latest version of the runtime and compiler.

This commit ensures that the runner will get rebuilt whenever
`ponyc` gets rebuilt by adding `ponyc` as an explicit dependency
to the `runner` build command.
  • Loading branch information
dipinhora committed Jul 7, 2023
1 parent 8f2e7b6 commit 44b777d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions test/libponyc-run/runner/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,5 @@ add_custom_command(OUTPUT ${RUNNER_EXECUTABLE}
_test_process_notify.pony
_tester_timer_notify.pony
_tester.pony
$<TARGET_FILE:ponyc>
)

0 comments on commit 44b777d

Please sign in to comment.