Skip to content

Commit

Permalink
test: verify presence of protox_conformance
Browse files Browse the repository at this point in the history
  • Loading branch information
ahamez committed Jan 1, 2025
1 parent 1c94a23 commit a033db9
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion test/conformance_test.exs
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,12 @@ defmodule Protox.ConformanceTest do
{:ok, _} = File.rm_rf("./failing_tests.txt")

runner = Path.expand("#{Mix.Project.deps_paths().protobuf}/conformance_test_runner")

assert File.exists?(runner)

assert {:ok, _} = Mix.Tasks.Protox.Conformance.run(["--quiet", "--compile-only"])
protox_conformance = Path.expand("./protox_conformance")
assert File.exists?(protox_conformance)

# {:ok, _} here just means that the runner could be launched, not that the conformance
# test performed correctly. We'll check the absence of the "failing_tests.txt" file
# to verify this.
Expand Down

0 comments on commit a033db9

Please sign in to comment.