Revert "Restore CUDA-based unit tests (#6518)"
This reverts commit dc52b17c4d
.
This commit is contained in:
parent
7a7abe692e
commit
27f38a3770
|
@ -80,7 +80,7 @@ test-stable-perf)
|
||||||
fi
|
fi
|
||||||
|
|
||||||
_ cargo +"$rust_stable" build --bins ${V:+--verbose}
|
_ cargo +"$rust_stable" build --bins ${V:+--verbose}
|
||||||
_ cargo +"$rust_stable" test --package solana-ledger --package solana-core --lib ${V:+--verbose} -- --nocapture
|
_ cargo +"$rust_stable" test --package solana-core --lib ${V:+--verbose} -- --nocapture
|
||||||
;;
|
;;
|
||||||
test-local-cluster)
|
test-local-cluster)
|
||||||
echo "Executing $testName"
|
echo "Executing $testName"
|
||||||
|
|
|
@ -159,6 +159,7 @@ pub fn init_cuda() {
|
||||||
}
|
}
|
||||||
|
|
||||||
pub fn api() -> Option<&'static Container<Api<'static>>> {
|
pub fn api() -> Option<&'static Container<Api<'static>>> {
|
||||||
|
#[cfg(test)]
|
||||||
{
|
{
|
||||||
static INIT_HOOK: Once = Once::new();
|
static INIT_HOOK: Once = Once::new();
|
||||||
INIT_HOOK.call_once(|| {
|
INIT_HOOK.call_once(|| {
|
||||||
|
|
Loading…
Reference in New Issue