diff options
author | iphydf <iphydf@users.noreply.github.com> | 2018-01-15 00:31:06 +0000 |
---|---|---|
committer | iphydf <iphydf@users.noreply.github.com> | 2018-01-15 11:29:51 +0000 |
commit | cec5fea71bff1ba46be6bc126efb85c28a169f9e (patch) | |
tree | f87083521fa5f5328bb1342f691eefa49c60b396 /testing/hstox/driver.h | |
parent | 402664f58d3b076a3715ddf0fdb6bb49c70c57b4 (diff) |
Remove hstox test for now.
This isn't adding value. We're going to redo the whole rpc test framework
in the future, after a lot of refactoring that the hstox test currently
just stands in the way of.
Diffstat (limited to 'testing/hstox/driver.h')
-rw-r--r-- | testing/hstox/driver.h | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/testing/hstox/driver.h b/testing/hstox/driver.h deleted file mode 100644 index 150d5cdd..00000000 --- a/testing/hstox/driver.h +++ /dev/null | |||
@@ -1,22 +0,0 @@ | |||
1 | #pragma once | ||
2 | |||
3 | #include <stdbool.h> | ||
4 | #include <stdint.h> | ||
5 | |||
6 | // Settings for the test runner. | ||
7 | struct settings { | ||
8 | // Print the msgpack object on test failure. | ||
9 | bool debug; | ||
10 | // Print all inputs and outputs to stderr. | ||
11 | bool trace; | ||
12 | // Write test sample files into test-inputs/. These files, one per test | ||
13 | // method, are used to seed the fuzzer. | ||
14 | bool collect_samples; | ||
15 | }; | ||
16 | |||
17 | // Main loop communicating via read/write file descriptors. The two fds can be | ||
18 | // the same in case of a network socket. | ||
19 | int communicate(struct settings cfg, int read_fd, int write_fd); | ||
20 | |||
21 | // Open a TCP socket on the given port and start communicate(). | ||
22 | uint32_t network_main(struct settings cfg, uint16_t port, unsigned int timeout); | ||