Skip to content

Commit

Permalink
Rewamped command line options
Browse files Browse the repository at this point in the history
Big refactor of the command line options and their usage, see Documentation for new usage.
Battery and result storage are set via cli, this info is stored in new objects
BatteryArg and ResultStorageArg. Update USAGE and LICENSE information
added documentation. Modified README. Version set to 1.0, release will be soon.
  • Loading branch information
LuboO committed May 20, 2017
1 parent e08880b commit 347467d
Show file tree
Hide file tree
Showing 89 changed files with 6,110 additions and 834 deletions.
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
The MIT License (MIT)

Copyright (c) 2015 Centre for Research on Cryptography and Security
Copyright (c) 2015-2017 Centre for Research on Cryptography and Security

https://github.com/crocs-muni/
https://crocs.fi.muni.cz/
Expand Down
24 changes: 19 additions & 5 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ DEPS = \
rtt/batteries/itest-batt.h \
rtt/batteries/testrunner-batt.h \
rtt/rttexception.h \
rtt/clioptions.h \
rtt/toolkitsettings.h \
rtt/bugexception.h \
rtt/batteries/configuration-batt.h \
Expand All @@ -49,7 +48,15 @@ DEPS = \
rtt/batteries/testu01/testresult-tu01.h \
rtt/batteries/niststs/testresult-sts.h \
rtt/batteries/dieharder/testresult-dh.h \
rtt/batteries/result/statistic-res.h
rtt/batteries/result/statistic-res.h \
libs/variant/include/mpark/variants/config.hpp \
libs/variant/include/mpark/variants/lib.hpp \
libs/variant/include/mpark/in_place.hpp \
libs/variant/include/mpark/variant.hpp \
rtt/clinterface/clargument.h \
rtt/clinterface/batteryarg.h \
rtt/clinterface/resultstoragearg.h \
rtt/clinterface/rttclioptions.h

# === Target object files ===
OBJ = \
Expand All @@ -67,7 +74,6 @@ OBJ = \
ibattery-batt.o \
itest-batt.o \
testrunner-batt.o \
clioptions.o \
toolkitsettings.o \
configuration-batt.o \
testconstants.o \
Expand All @@ -88,7 +94,10 @@ OBJ = \
testresult-dh.o \
testresult-sts.o \
testresult-tu01.o \
statistic-res.o
statistic-res.o \
batteryarg.o \
resultstoragearg.o \
rttclioptions.o

# === All paths inside project directory ===
# === Ugly but works ===
Expand All @@ -99,11 +108,16 @@ VPATH = \
rtt/batteries/niststs:\
rtt/batteries/testu01:\
rtt/batteries/result:\
rtt/clinterface:\
rtt/storage:\
libs:\
libs/cephes:\
libs/easylogging:\
libs/moderncppjson
libs/moderncppjson:\
libs/variant:\
libs/variant/include:\
libs/variant/include/mpark:\
libs/variant/include/mpark/variants

%.o: %.cpp $(DEPS)
$(CXX) -c -o $@ $< $(CXXFLAGS)
Expand Down
5 changes: 4 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ The framework is developed at the [Centre for Research on Cryptography and Secur
* **Ľubomír Obrátil** 2015-now (Development)

## License
Randomness Testing Toolkit is licenced under MIT Licence, Copyright (c) 2015 Centre for Research on Cryptography and Security. For details on MIT Licence, see file LICENSE.
Randomness Testing Toolkit is licenced under MIT Licence, Copyright (c) 2015-2017 Centre for Research on Cryptography and Security. For details on MIT Licence, see file LICENSE.

## Third party libraries
Some sub-parts of the project have their own licencing conditions. The brief list of such sub-parts follows.
Expand All @@ -37,3 +37,6 @@ Simple header C++ logging library. Released under MIT license.
* **JSON for modern C++** [Home page](https://github.com/nlohmann/json)
JSON parser for C++. Released under MIT license.

* **C++17 std::variant for C++11/14/17** [Home page](https://github.com/mpark/variant)
Implementation of variant object from C++17 standard.

245 changes: 0 additions & 245 deletions configuration_files/based-on-data-length/16MB.json

This file was deleted.

Loading

0 comments on commit 347467d

Please sign in to comment.