//! Integration tests for sequoia-cryptoki.

/// Skips a test unless the given algorithm is supported.
#[allow(unused_macros)]
macro_rules! skip_unless_supported {
    ( $algo: expr ) => {
        if ! $algo.is_supported() {
            eprintln!("Skipping test because {} is not supported.", $algo);
            return Ok(());
        }
    }
}

mod integration {
    mod common;
    mod token_init;
//    mod token_list;
    mod key_generate;
//    mod key_export;
//    mod key_sign;
//    mod key_decrypt;
    mod key_import;
}
