Restore CUDA-based unit tests (#6518)

This commit is contained in:
Michael Vines 2019-10-23 20:09:28 -07:00 committed by GitHub
parent ddefc96433
commit dc52b17c4d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 1 additions and 2 deletions

View File

@ -80,7 +80,7 @@ test-stable-perf)
fi
_ cargo +"$rust_stable" build --bins ${V:+--verbose}
_ cargo +"$rust_stable" test --package solana-core --lib ${V:+--verbose} -- --nocapture
_ cargo +"$rust_stable" test --package solana-ledger --package solana-core --lib ${V:+--verbose} -- --nocapture
;;
test-local-cluster)
echo "Executing $testName"

View File

@ -159,7 +159,6 @@ pub fn init_cuda() {
}
pub fn api() -> Option<&'static Container<Api<'static>>> {
#[cfg(test)]
{
static INIT_HOOK: Once = Once::new();
INIT_HOOK.call_once(|| {