--- Log opened Thu May 02 00:00:01 2019 05:03 -!- jtimon [~quassel@181.61.134.37.dynamic.jazztel.es] has joined #secp256k1 09:56 -!- afk11 [~afk11@unaffiliated/afk11] has quit [Ping timeout: 258 seconds] 10:34 -!- sipa [~pw@gateway/tor-sasl/sipa1024] has quit [Ping timeout: 256 seconds] 10:35 -!- sipa [~pw@gateway/tor-sasl/sipa1024] has joined #secp256k1 11:19 < real_or_random> I'm trying to run the secp256k1 tests on trezor. my current plan is to make the tests.c more like a module, i.e., factor the actual testing out of main() and export it in a header file. then you can link it with your own main(), which is responsible for the I/O for setting up the tests (providing randomness, getting "count", printfs, etc.) 11:19 < real_or_random> does not make sense? open to suggestions and comments 11:24 < gmaxwell> I don't oppose that, but it might be overkill, compared to moving the io and setup into seperate functions and making it easy to override them via ifdefs. 11:29 < real_or_random> I don't think it's much more work in the end 11:31 < real_or_random> a pro of suggestion is that we anyway need at least one callback for exiting and printing an error message if a tests fails 11:31 < real_or_random> *your suggestion 11:58 < real_or_random> ok, and it's only O(1) LOC in the number of testsuites (and we have tests, exhaustive tests, and benchmarks) 11:58 < real_or_random> so I'll try that 13:12 -!- ddustin [~ddustin@unaffiliated/ddustin] has joined #secp256k1 13:12 -!- ddustin [~ddustin@unaffiliated/ddustin] has quit [Read error: Connection reset by peer] 13:13 -!- ddustin [~ddustin@unaffiliated/ddustin] has joined #secp256k1 14:02 -!- ddustin [~ddustin@unaffiliated/ddustin] has quit [Remote host closed the connection] 14:03 -!- ddustin [~ddustin@unaffiliated/ddustin] has joined #secp256k1 14:03 -!- ddustin [~ddustin@unaffiliated/ddustin] has quit [Read error: Connection reset by peer] 14:05 -!- ddustin [~ddustin@unaffiliated/ddustin] has joined #secp256k1 14:46 -!- real_or_random [~real_or_r@vmd27468.contaboserver.net] has quit [Ping timeout: 252 seconds] 14:47 -!- real_or_- [~real_or_r@173.249.7.254] has joined #secp256k1 14:47 -!- real_or_- is now known as real_or_random 15:08 -!- ddustin [~ddustin@unaffiliated/ddustin] has quit [Remote host closed the connection] 15:09 -!- ddustin [~ddustin@unaffiliated/ddustin] has joined #secp256k1 15:09 -!- ddustin [~ddustin@unaffiliated/ddustin] has quit [Read error: Connection reset by peer] 15:10 -!- ddustin [~ddustin@unaffiliated/ddustin] has joined #secp256k1 15:10 -!- ddustin [~ddustin@unaffiliated/ddustin] has quit [Read error: Connection reset by peer] 15:11 -!- ddustin [~ddustin@unaffiliated/ddustin] has joined #secp256k1 17:26 -!- jtimon [~quassel@181.61.134.37.dynamic.jazztel.es] has quit [Quit: gone] 18:42 -!- ddustin [~ddustin@unaffiliated/ddustin] has quit [Remote host closed the connection] --- Log closed Fri May 03 00:00:01 2019