Skip to content

Commit

Permalink
run tests against hardware wallet ref #34
Browse files Browse the repository at this point in the history
  • Loading branch information
stdevAlDen committed May 14, 2019
1 parent ea25ad9 commit 95f7f43
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions lib/cgo/tests/test_main_hw.c
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
#include <check.h>
#include <stdlib.h>

Suite *common_check_cipher_hash(void);

// run suite
int main(void)
{
int number_failed = 0;
int number_failed_fork = 0;
SRunner *sr = srunner_create(common_check_cipher_hash());
srunner_run_all(sr, CK_VERBOSE);
number_failed = srunner_ntests_failed(sr);
srunner_free(sr);
sr = NULL;
return (number_failed == 0) ? EXIT_SUCCESS : EXIT_FAILURE;
// return 0;
}

0 comments on commit 95f7f43

Please sign in to comment.