Jack Grigg
eca5009825
test: Build Rust tests as part of qa/zcash/full_test_suite.py
...
The previous version of full_test_suite.py directly called the test
binary, which was being compiled at the same time as the static library.
However, by passing the --tests argument to cargo, rustc was ignoring
several important release-profile configurations, and was also
attempting to link the test binary, which was breaking cross-compilation
builds.
This commit alters src/Makefile.am to only build the static library, and
leaves test compilation to the test runner itself. This ensures that the
tests are only compiled for native builds, when the tests will be run on
the same platform.
2020-04-08 18:17:19 +12:00
Taylor Hornby
acdad52602
Update updatecheck.py with the new Rust dependencies and improve the error message in case the untracked dependency list becomes out of date.
2020-03-17 14:05:50 -06:00
Homu
a125f3f5f8
Auto merge of #4403 - ebfull:rust-tests, r=str4d
...
Additional librustzcash integration
This adds librustzcash tests to the full test suite, and brings in the release profile configurations that are currently present in the librustzcash workspace on the other repository. It's very important that we build librustzcash with panic=abort because otherwise the unwinding panics across FFI boundaries could cause undefined behavior.
2020-03-17 07:50:48 +00:00
Sean Bowe
81a633c9c3
Simplification for MacOS in rust-test.
2020-03-14 11:06:13 -06:00
Sean Bowe
531c7c2881
Minor typo fixes.
2020-03-14 11:04:39 -06:00
Sean Bowe
7767f8e9e0
Add librustzcash tests to the full test suite.
2020-03-14 10:58:09 -06:00
Taylor Hornby
11470a3107
Fix typo in updatecheck.py
2020-03-11 10:07:13 -06:00
Taylor Hornby
d582270abb
Fix bug in updatecheck.py and add utfcpp to its dependency list
2020-03-11 09:11:28 -06:00
mdr0id
1ce2e86612
Update #! env for python3
2020-02-10 13:34:29 -08:00
mdr0id
7300db81ed
Updating remaining python3 conventions
2020-02-10 13:15:26 -08:00
mdr0id
4cb368a8d9
Update remaining Python3 conventions
2020-02-10 12:46:41 -08:00
mdr0id
826135d5ed
Fix remaining python3 conventions
2020-02-10 12:38:46 -08:00
mdr0id
5ac9cb85f3
fix string pattern issue on byte object
2020-02-09 09:07:42 -08:00
mdr0id
3dde472c96
update /usr/bin/env; fix print conventions
2020-02-09 08:09:31 -08:00
Taylor Hornby
1ecf2bae48
Make updatecheck.py compatible with python2
2020-01-30 11:11:37 -07:00
Taylor Hornby
5274f322b6
Cache releases to reduce network usage and improve performance
2020-01-28 14:53:36 -07:00
Taylor Hornby
992de545f9
Wrap long lines
2020-01-28 14:45:13 -07:00
Taylor Hornby
d7108d36b1
Update list of dependencies to check
2019-12-19 14:33:51 -07:00
Taylor Hornby
49f94dbe3d
Add GitHub API credential
2019-12-19 14:33:41 -07:00
Taylor Hornby
d83e8a6a44
Add Python script for checking if dependencies have updates.
2019-12-19 13:58:36 -07:00
Charlie O'Keefe
d4f70e5536
Add check-depends step to STAGE_COMMANDS list
2019-11-27 14:12:18 -08:00
Jack Grigg
1f38ad2536
Remove libsnark unit tests from full test suite
2019-08-22 15:42:54 +01:00
zebambam
5ac48d8ebc
Updated location to new download server, fixing #4100
2019-08-18 14:38:49 +01:00
zebambam
929b302e40
Updated location to new download server
2019-08-14 11:42:31 -07:00
Daira Hopwood
2fe59a5681
qa/zcash/checksec.sh is under a BSD license, with a specialized non-endorsement clause.
...
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
2019-07-18 15:31:39 +01:00
Daira Hopwood
bc909a7a7f
Replace http with https: in links to the MIT license.
...
Also change MIT/X11 to just MIT, since no distinction was intended.
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
2019-07-18 15:26:01 +01:00
Jack Grigg
ecde950bac
Add Sapling benchmarks to benchmark runner
2019-02-16 18:44:16 +00:00
mdr0id
4ca5def62f
Make pythonisms consistent
2018-12-18 12:16:23 -08:00
Jack Grigg
341a22ad90
Skip ELF-only sec-hard checks on non-ELF binaries
2018-06-07 18:49:15 +12:00
Jack Grigg
c7e64754dc
Add MacOS support to no-dot-so test
2018-06-05 22:32:13 +12:00
Jack Grigg
11aa594440
Remove obsolete CreateJoinSplit and GenerateParams binaries
2018-05-03 13:18:03 +01:00
Jack Grigg
b466c1c90c
cleanup: Ensure code is pyflakes-clean for CI
2018-03-27 02:47:57 +02:00
Jack Grigg
818b94f94f
Make number of inputs configurable in validatelargetx test
2018-02-20 04:22:22 +00:00
Duke Leto
a20b975a52
Update performance-measurements.sh
...
Fix error message, as per @daira
2017-10-24 14:50:26 -07:00
Homu
6b58fd2c99
Auto merge of #2665 - leto:perf_fix, r=str4d
...
Fix bug where performance-measurements.sh fails hards when given no args
Better than "$1: unbound variable", we ran into this when testing this script in the Hush repo, so we are pushing this fix upstream.
2017-10-23 18:37:05 -07:00
Jack Grigg
692bf7a6df
Add --list-stages argument to full_test_suite.py
2017-10-18 00:56:32 -07:00
Jack Grigg
91dd425b4a
Add libsnark tests to full_test_suite.py
2017-10-18 00:55:52 -07:00
Homu
4c9b77d8fb
Auto merge of #2654 - str4d:429-test-driver-script, r=str4d
...
[Test] New merge test suite driver script
Running the script with no arguments will run all test stages in succession.
Passing one or more stages as arguments will run just those stages.
Closes #429 .
2017-10-16 21:51:21 -07:00
Jack Grigg
6e98511cf1
Add stdout notice if any stage fails
2017-10-16 16:16:14 -04:00
Jack Grigg
88fbdc4868
Add bitcoin-util-test.py to full_test_suite.py
...
Not moved, because upstream makes improvements to this script, and the need to
set environment variables makes it simpler to just use the given script.
2017-10-16 16:15:10 -04:00
Jonathan "Duke" Leto
147fffb7ec
Fix bug where performance-measurements.sh fails hards when given no args
...
Better than "$1: unbound variable", we ran into this when testing this
script in the Hush repo, so we are pushing this fix upstream.
2017-10-16 08:39:59 -07:00
Homu
af549fe6ed
Auto merge of #2650 - str4d:2645-listunspent-benchmark, r=str4d
...
Add benchmark for listunspent
Closes #2645 .
2017-10-12 15:24:53 -07:00
Jack Grigg
94790c5d8f
Add memory benchmark for validatelargetx
2017-10-09 22:18:28 +01:00
Jack Grigg
c6af0aa453
Move check-security-hardening.sh into full_test_suite.py
2017-10-06 11:17:45 +01:00
Jack Grigg
105b2b6248
Move ensure-no-dot-so-in-depends.py into full_test_suite.py
2017-10-06 11:17:45 +01:00
Jack Grigg
aadf3aa159
Replace full-test-suite.sh with a new test suite driver script
...
This will be the canonical location for the entire Zcash merge test suite.
2017-10-06 11:17:11 +01:00
Jack Grigg
99dd50c30c
Add benchmark for listunspent
...
Closes #2645 .
2017-10-04 12:48:50 +01:00
Jack Grigg
091c089d03
Fix incorrect failure in memory benchmark
2017-09-27 19:42:39 +01:00
Jack Grigg
72b4f0b3e6
Individualise performance-measurements.sh errors for debugging
2017-09-27 19:41:54 +01:00
Ariel Gabizon
2e8aefdce1
add load-wallet benchmark
2017-09-18 21:54:53 +02:00