blob: d7614fb2e4ec092be7b932f39dee2587a575d266 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
# Building
$ protoc -I. --nim_out=. test_messages_proto3.proto
$ protoc -I. --nim_out=. conformance.proto
$ nim c conformance_nim.nim
# Running conformance tests
First you need to get protobuf library sources and build the library. After
building, there should be `conformance/conformance-test-runner` that contains
the actual test suite. The test runner communicates with the `conformance_nim`
over pipes, passing in requests and receiving responses.
Running the test suite (assuming your working directory is in
`protobuf-src/conformance`):
$ ./conformance-test-runner /path/to/nimpb/tests/conformance/conformance_nim
|