1
Fork 0
mirror of https://github.com/redstrate/Physis.git synced 2025-05-05 18:27:46 +00:00

Rename integration_test to retail_test

Also make it use required-features instead of cfg attr'ing everything.
This commit is contained in:
Joshua Goins 2025-04-28 21:49:41 -04:00
parent 48a91b8418
commit 3049014247
2 changed files with 4 additions and 2 deletions

View file

@ -23,6 +23,10 @@ name = "retail_benchmark"
harness = false harness = false
required-features = ["retail_game_testing"] required-features = ["retail_game_testing"]
[[test]]
name = "retail_test"
required-features = ["retail_game_testing"]
[dev-dependencies] [dev-dependencies]
hmac-sha512 = "1" hmac-sha512 = "1"

View file

@ -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 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] #[test]
#[cfg_attr(not(feature = "retail_game_testing"), ignore)]
fn test_gamedata_extract() { fn test_gamedata_extract() {
let game_dir = env::var("FFXIV_GAME_DIR").unwrap(); 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()); assert!(gamedata.extract("exd/root.exl").is_some());
} }