summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* Only enable `-Werror` for Travis CIDavid Seifert2017-12-11
|
* Add support for pkg-configDavid Seifert2017-12-11
|
* Modernise CMakeDavid Seifert2017-12-11
| | | | | | | | | | | | | | | | * Make indentation uniform * Find libhid via pkg-config on Unix * Use `BUILD_SHARED_LIBS`, which is the idiomatic way to switch between static and shared libraries in CMake. https://cmake.org/cmake/help/v3.0/variable/BUILD_SHARED_LIBS.html * Remove Clang option. To use Clang, pass `CXX=clang++` as an environmental parameter to the CMake call. * Do not enable `-Werror` by default. This just causes unnecessary issues with new compiler releases. https://blog.flameeyes.eu/2009/02/future-proof-your-code-dont-use-werror/
* Merge branch 'fix_warnings'Szczepan Zalega2017-10-21
|\
| * Fix compilation warningSzczepan Zalega2017-10-21
|/ | | | | | Moved const to proper place Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
* Merge branch 'general-fixes'v3.1Szczepan Zalega2017-10-11
|\
| * Allow to use library path in tests from environment variableSzczepan Zalega2017-10-11
| | | | | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
| * Show proper device status codeSzczepan Zalega2017-10-11
| | | | | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
| * Switch logging volatile dataSzczepan Zalega2017-10-11
| | | | | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
| * Make Debug build by default on MacOSSzczepan Zalega2017-10-11
|/ | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
* Merge branch 'travis_update'Szczepan Zalega2017-10-11
|\ | | | | | | Use new xcode and GCC 7
| * Add GCC 7Szczepan Zalega2017-10-11
| | | | | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
| * Test installation procedureSzczepan Zalega2017-10-11
| | | | | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
| * Use latest xcode. Compile offline tests for fast check.Szczepan Zalega2017-10-11
|/ | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
* Merge branch 'cleanup'Szczepan Zalega2017-10-10
|\
| * Allow to enable compilation of general and offline tests separatelySzczepan Zalega2017-10-10
| | | | | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
| * Remove -log library leftoversSzczepan Zalega2017-10-10
| | | | | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
| * Bump version to 3.1Szczepan Zalega2017-10-10
|/ | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
* Merge branch 'test_organize'Szczepan Zalega2017-10-10
|\ | | | | | | | | | | Improve test organization Disable CRC check Improve log
| * Do not set debug level in testsSzczepan Zalega2017-10-10
| | | | | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
| * Log updateSzczepan Zalega2017-10-10
| | | | | | | | | | | | | | | | Show progress on busy retries as dots (.) Show warning when expected CRC is different than of received response Show busy retry stats only on delay change Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
| * Translate properly Storage error on AES decoding failSzczepan Zalega2017-10-10
| | | | | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
| * Update device propertiesSzczepan Zalega2017-10-10
| | | | | | | | | | | | | | Increase device delays Increase retry count Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
| * Add DEBUG_L1 log messagesSzczepan Zalega2017-10-10
| | | | | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
| * Add DEBUG_L1 level and set it as default for Python testsSzczepan Zalega2017-10-10
| | | | | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
| * Return exception type when DeviceCommunicationException is encounteredSzczepan Zalega2017-10-10
| | | | | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
| * Number exceptions for easy return codeSzczepan Zalega2017-10-10
| | | | | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
| * Code reformatSzczepan Zalega2017-10-10
| | | | | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
| * Skip checking packet's CRCSzczepan Zalega2017-10-10
| | | | | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
| * Make additional retries for longer running commandsSzczepan Zalega2017-10-10
| | | | | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
| * Increase maximum duplicated string lengthSzczepan Zalega2017-10-10
| | | | | | | | | | | | To cover Storage's status string getter Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
| * Make sure hidden volumes are created before unlocking themSzczepan Zalega2017-10-10
| | | | | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
| * Move library unit tests to Python3Szczepan Zalega2017-10-10
| | | | | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
| * Remove libnitrokey-log and add a switch to choose version insteadSzczepan Zalega2017-10-04
| | | | | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
| * Organize tests into categoriesSzczepan Zalega2017-10-04
| | | | | | | | | | | | ... by adding pytest marks. Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
* | Merge branch '71-failing_tests'v3.0Szczepan Zalega2017-10-07
|\ \ | | | | | | | | | Closes #71
| * | Travis: do not compile all tests by defaultSzczepan Zalega2017-10-07
| | | | | | | | | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
| * | Enter bytes directly instead of using stringSzczepan Zalega2017-10-07
| | | | | | | | | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
| * | Make CTest verboseSzczepan Zalega2017-10-07
| | | | | | | | | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
| * | Enable offline test on all instancesSzczepan Zalega2017-10-07
| | | | | | | | | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
| * | Enable tests on CISzczepan Zalega2017-10-07
| | | | | | | | | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
| * | Add C++ offline tests and set them defaultSzczepan Zalega2017-10-07
| | | | | | | | | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
| * | Correct exception typeSzczepan Zalega2017-10-07
|/ / | | | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
* | Merge branch 'pr_68'Szczepan Zalega2017-10-07
|\ \ | | | | | | | | | Closes #68
| * | Fix install commandSzczepan Zalega2017-10-07
| | | | | | | | | | | | | | | | | | | | | | | | | | | Install binaries Copy all headers to own directory Closes #70 Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
| * | Build shared library by defaultSzczepan Zalega2017-10-07
| | | | | | | | | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
| * | Set SONAME and use semantic versioningSzczepan Zalega2017-10-07
| | | | | | | | | | | | | | | | | | Closes #69 Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
| * | build: use GNUInstallDirsIgor Gnatenko2017-10-07
| |/ | | | | | | | | | | | | This simplifies package maintainers life a lot so they don't have to patch buildsystem at all. It just works. Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
* | Merge branch 'pr_72'Szczepan Zalega2017-10-07
|\ \ | |/ |/| | | Closes #72
| * test3.cc: fix syntax errorIgor Gnatenko2017-10-07
|/ | | | | Closes #72 Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>