Skip to content

Commit

Permalink
GOST unit tests added
Browse files Browse the repository at this point in the history
  • Loading branch information
orignal committed Mar 21, 2017
1 parent 2aa8cf7 commit 44a3e08
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion tests/Makefile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
CXXFLAGS += -Wall -Wextra -pedantic -O0 -g -std=c++11 -D_GLIBCXX_USE_NANOSLEEP=1

TESTS = test-http-url test-http-req test-http-res test-http-url_decode \
TESTS = test-gost test-http-url test-http-req test-http-res test-http-url_decode \
test-http-merge_chunked test-base-64

all: $(TESTS) run
Expand All @@ -11,6 +11,9 @@ test-http-%: ../HTTP.cpp test-http-%.cpp
test-base-%: ../Base.cpp test-base-%.cpp
$(CXX) $(CXXFLAGS) $(NEEDED_CXXFLAGS) $(INCFLAGS) -o $@ $^

test-gost: ../Gost.cpp test-gost.cpp
$(CXX) $(CXXFLAGS) $(NEEDED_CXXFLAGS) $(INCFLAGS) -o $@ $^ -lcrypto

run: $(TESTS)
@for TEST in $(TESTS); do ./$$TEST ; done

Expand Down

0 comments on commit 44a3e08

Please sign in to comment.