Skip to content

Commit

Permalink
[tests] Clean up the propagating tests
Browse files Browse the repository at this point in the history
  • Loading branch information
thoni56 committed Feb 28, 2023
1 parent 341ea0d commit 7da32d4
Show file tree
Hide file tree
Showing 10 changed files with 7 additions and 32 deletions.
2 changes: 1 addition & 1 deletion tests/test_propagate_client_requests/.gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
dummy_server
dumping_server
error
log
6 changes: 3 additions & 3 deletions tests/test_propagate_client_requests/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ include ../Makefile.boilerplate
OS := $(shell uname)


$(TEST): dump_server
../../utils/rpc-driver.py input | ../../src/clef --lsp=./dump_server --log=log 2> error
$(TEST): dumping_server
../../utils/rpc-driver.py input | ../../src/clef --lsp=./dumping_server --log=log 2> error
cat log error dump | $(NORMALIZE_TRACE) > output
$(VERIFY)

Expand All @@ -16,4 +16,4 @@ else
LDLIBS += -lcjson
endif

dump_server: dump_server.c
dumping_server: dumping_server.c
Binary file removed tests/test_propagate_client_requests/dump_server
Binary file not shown.
15 changes: 0 additions & 15 deletions tests/test_propagate_client_requests/input.rpc

This file was deleted.

1 change: 0 additions & 1 deletion tests/test_propagate_client_requests/responses.json

This file was deleted.

6 changes: 3 additions & 3 deletions tests/test_propagate_server_responses/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ include ../Makefile.boilerplate
OS := $(shell uname)


$(TEST): dummy_server
../../src/clef --lsp=./dummy_server --log=log 2> error > output.tmp
$(TEST): canned_server
../../src/clef --lsp=./canned_server --log=log 2> error > output.tmp
cat output.tmp log error | $(NORMALIZE_TRACE) > output
$(VERIFY)

Expand All @@ -16,4 +16,4 @@ else
LDLIBS += -lcjson
endif

dummy_server: dummy_server.c
canned_server: canned_server.c
3 changes: 0 additions & 3 deletions tests/test_propagate_server_responses/input

This file was deleted.

6 changes: 0 additions & 6 deletions tests/test_propagate_server_responses/input.rpc

This file was deleted.

0 comments on commit 7da32d4

Please sign in to comment.