repo: move slang-shaders to root/test

This commit is contained in:
chyyran 2022-10-21 00:09:38 -04:00
parent cc295133c0
commit 731c27a4be
6 changed files with 4 additions and 4 deletions

2
.gitmodules vendored
View file

@ -1,3 +1,3 @@
[submodule "librashader-presets/test/slang-shaders"] [submodule "librashader-presets/test/slang-shaders"]
path = librashader-presets/test/slang-shaders path = test/slang-shaders
url = https://github.com/libretro/slang-shaders url = https://github.com/libretro/slang-shaders

View file

@ -4,5 +4,6 @@
<mapping directory="$PROJECT_DIR$/.." vcs="Git" /> <mapping directory="$PROJECT_DIR$/.." vcs="Git" />
<mapping directory="$PROJECT_DIR$" vcs="Git" /> <mapping directory="$PROJECT_DIR$" vcs="Git" />
<mapping directory="$PROJECT_DIR$/librashader-presets/test/slang-shaders" vcs="Git" /> <mapping directory="$PROJECT_DIR$/librashader-presets/test/slang-shaders" vcs="Git" />
<mapping directory="$PROJECT_DIR$/test/slang-shaders" vcs="Git" />
</component> </component>
</project> </project>

View file

@ -34,7 +34,7 @@ mod test {
#[test] #[test]
pub fn parse_preset() { pub fn parse_preset() {
let root = let root =
PathBuf::from("test/slang-shaders/ntsc/ntsc-256px-svideo.slangp"); PathBuf::from("../test/slang-shaders/ntsc/ntsc-256px-svideo.slangp");
let basic = Preset::try_parse(root); let basic = Preset::try_parse(root);
eprintln!("{:#?}", basic); eprintln!("{:#?}", basic);
assert!(basic.is_ok()); assert!(basic.is_ok());

View file

@ -468,7 +468,7 @@ mod test {
#[test] #[test]
pub fn parse_basic() { pub fn parse_basic() {
let root = let root =
PathBuf::from("test/slang-shaders/bezel/Mega_Bezel/Presets/Base_CRT_Presets/MBZ__3__STD__MEGATRON-NTSC.slangp"); PathBuf::from("../test/slang-shaders/bezel/Mega_Bezel/Presets/Base_CRT_Presets/MBZ__3__STD__MEGATRON-NTSC.slangp");
let basic = parse_preset(&root); let basic = parse_preset(&root);
eprintln!("{:?}", basic); eprintln!("{:?}", basic);
assert!(basic.is_ok()); assert!(basic.is_ok());

View file

@ -1 +0,0 @@
{"rustc_fingerprint":1842804115855352081,"outputs":{"15697416045686424142":{"success":true,"status":"","code":0,"stdout":"___.exe\nlib___.rlib\n___.dll\n___.dll\n___.lib\n___.dll\n","stderr":""},"4614504638168534921":{"success":true,"status":"","code":0,"stdout":"rustc 1.65.0-nightly (750bd1a7f 2022-09-14)\nbinary: rustc\ncommit-hash: 750bd1a7ff3e010611b97ee75d30b7cbf5f3a03c\ncommit-date: 2022-09-14\nhost: x86_64-pc-windows-msvc\nrelease: 1.65.0-nightly\nLLVM version: 15.0.0\n","stderr":""},"10376369925670944939":{"success":true,"status":"","code":0,"stdout":"___.exe\nlib___.rlib\n___.dll\n___.dll\n___.lib\n___.dll\nC:\\Users\\ronny\\.rustup\\toolchains\\nightly-x86_64-pc-windows-msvc\ndebug_assertions\npanic=\"unwind\"\nproc_macro\ntarget_abi=\"\"\ntarget_arch=\"x86_64\"\ntarget_endian=\"little\"\ntarget_env=\"msvc\"\ntarget_family=\"windows\"\ntarget_feature=\"fxsr\"\ntarget_feature=\"llvm14-builtins-abi\"\ntarget_feature=\"sse\"\ntarget_feature=\"sse2\"\ntarget_has_atomic=\"16\"\ntarget_has_atomic=\"32\"\ntarget_has_atomic=\"64\"\ntarget_has_atomic=\"8\"\ntarget_has_atomic=\"ptr\"\ntarget_has_atomic_equal_alignment=\"16\"\ntarget_has_atomic_equal_alignment=\"32\"\ntarget_has_atomic_equal_alignment=\"64\"\ntarget_has_atomic_equal_alignment=\"8\"\ntarget_has_atomic_equal_alignment=\"ptr\"\ntarget_has_atomic_load_store=\"16\"\ntarget_has_atomic_load_store=\"32\"\ntarget_has_atomic_load_store=\"64\"\ntarget_has_atomic_load_store=\"8\"\ntarget_has_atomic_load_store=\"ptr\"\ntarget_os=\"windows\"\ntarget_pointer_width=\"64\"\ntarget_thread_local\ntarget_vendor=\"pc\"\nwindows\n","stderr":""}},"successes":{}}