summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
...
* 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>
* Merge branch 'OSX_merge_cleaned'Szczepan Zalega2017-10-03
|\ | | | | | | | | | | | | | | | | | | | | | | | | This merge: - fixes issues with invalid mutex - moves tests to Python 3 - allows to compile the code natively under Visual Studio with CMake - allows to compile under QtCreator under MS Windows - fixes some issues with test suite - allows to run tests under Windows - allows to compile using QMake (and easy adding to Qt projects) - decreases delays between sending commands thus increasing 2x communication speed
| * Update hidapiSzczepan Zalega2017-09-20
| | | | | | | | | | | | Open in enumeration mode under Windows Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
| * Merge branch 'windows_MSVC2017' into OSX_merge_cleanedSzczepan Zalega2017-09-20
| |\
| | * Qt project updateSzczepan Zalega2017-09-20
| | | | | | | | | | | | | | | | | | | | | | | | Build shared library with debug symbols Fix build for Linux Remove commented lines Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
| | * Compilation documentation updateSzczepan Zalega2017-09-20
| | | | | | | | | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>