From 3049014247bc1d4b343189677a9af6ad3d0d5aa4 Mon Sep 17 00:00:00 2001 From: Joshua Goins Date: Mon, 28 Apr 2025 21:49:41 -0400 Subject: [PATCH] Rename integration_test to retail_test Also make it use required-features instead of cfg attr'ing everything. --- Cargo.toml | 4 ++++ tests/{integration_test.rs => retail_test.rs} | 2 -- 2 files changed, 4 insertions(+), 2 deletions(-) rename tests/{integration_test.rs => retail_test.rs} (91%) diff --git a/Cargo.toml b/Cargo.toml index 30f2caa..ad89769 100755 --- a/Cargo.toml +++ b/Cargo.toml @@ -23,6 +23,10 @@ name = "retail_benchmark" harness = false required-features = ["retail_game_testing"] +[[test]] +name = "retail_test" +required-features = ["retail_game_testing"] + [dev-dependencies] hmac-sha512 = "1" diff --git a/tests/integration_test.rs b/tests/retail_test.rs similarity index 91% rename from tests/integration_test.rs rename to tests/retail_test.rs index ff44e21..d2f0b9d 100755 --- a/tests/integration_test.rs +++ b/tests/retail_test.rs @@ -7,7 +7,6 @@ use physis::common::Platform; /// Test to see if we can find the root EXL. It exists in every version, and is a pretty safe indicator whether our SqPack reading works. #[test] -#[cfg_attr(not(feature = "retail_game_testing"), ignore)] fn test_gamedata_extract() { let game_dir = env::var("FFXIV_GAME_DIR").unwrap(); @@ -19,4 +18,3 @@ fn test_gamedata_extract() { assert!(gamedata.extract("exd/root.exl").is_some()); } -