diff --git a/CHANGELOG.md b/CHANGELOG.md index 0194805..bee08a7 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,27 +2,8 @@ -## [Unreleased] - ReleaseDate - -### Added - -### Changed - -### Removed - - -## [0.5.0] - 2023-10-30 - -### Added - -### Changed - -### Removed - - - -## [0.5.0] - 2023-10-30 +## [Unreleased] - ReleaseDate ### Additions @@ -38,6 +19,10 @@ Publish the work in progress command line interface under crate name - Rewrite the `.dic` file parser. - Improve handling of morphological information in dictionary files. +## [0.5.0] - 2023-10-30 + +Immediately superceded release, see 0.5.1. + ## [0.4.1] - 2023-10-18 ### Additions @@ -184,8 +169,6 @@ Minor bups in the dependency list [Unreleased]: https://github.com/pluots/zspell/compare/v0.5.0...HEAD -[0.5.0]: https://github.com/pluots/zspell/compare/v0.5.0...v0.5.0 - [0.5.0]: https://github.com/pluots/zspell/compare/v0.4.1...v0.5.0 [0.4.1]: https://github.com/pluots/zspell/compare/v0.4.0...v0.4.1 [0.4.0]: https://github.com/pluots/zspell/compare/v0.3.3...v0.4.0 diff --git a/test-suite b/test-suite new file mode 120000 index 0000000..e770fc6 --- /dev/null +++ b/test-suite @@ -0,0 +1 @@ +zspell/test-suite/ \ No newline at end of file diff --git a/zspell/build.rs b/zspell/build.rs index 48f6bb8..838a6cb 100644 --- a/zspell/build.rs +++ b/zspell/build.rs @@ -18,8 +18,7 @@ const TEST_PREFIX: &str = "// autogenerated file, do not edit manually fn update_tests() { let root = Path::new(env!("CARGO_MANIFEST_DIR")); let out_path = Path::new(&env::var("OUT_DIR").unwrap()).join("auto_suite.rs"); - let suite_dir = root.parent().unwrap().join("test-suite"); - println!("cargo:rerun-if-changed={}", suite_dir.to_string_lossy()); + let suite_dir = root.join("test-suite"); let test_paths = fs::read_dir(suite_dir).unwrap(); let mut to_write = TEST_PREFIX.to_owned(); @@ -46,7 +45,7 @@ fn update_tests() { #[test] fn test_{test_name}() {{ let path = std::path::Path::new(env!(\"CARGO_MANIFEST_DIR\")); - let path = path.parent().unwrap().join(\"test-suite/{fname}\"); + let path = path.join(\"test-suite/{fname}\"); let mgr = test_util::TestManager::new_from_file(path); let dict = mgr.build_dict(); mgr.check_all(&dict); diff --git a/test-suite/0_example.test b/zspell/test-suite/0_example.test similarity index 100% rename from test-suite/0_example.test rename to zspell/test-suite/0_example.test diff --git a/test-suite/1_pfxsfx.test b/zspell/test-suite/1_pfxsfx.test similarity index 100% rename from test-suite/1_pfxsfx.test rename to zspell/test-suite/1_pfxsfx.test diff --git a/test-suite/1_pfxsfx_num.test b/zspell/test-suite/1_pfxsfx_num.test similarity index 100% rename from test-suite/1_pfxsfx_num.test rename to zspell/test-suite/1_pfxsfx_num.test diff --git a/test-suite/2_nosuggest_forbid.test b/zspell/test-suite/2_nosuggest_forbid.test similarity index 100% rename from test-suite/2_nosuggest_forbid.test rename to zspell/test-suite/2_nosuggest_forbid.test diff --git a/test-suite/h-ignore-sug.test b/zspell/test-suite/h-ignore-sug.test similarity index 100% rename from test-suite/h-ignore-sug.test rename to zspell/test-suite/h-ignore-sug.test diff --git a/test-suite/h-ignore-utf.test b/zspell/test-suite/h-ignore-utf.test similarity index 100% rename from test-suite/h-ignore-utf.test rename to zspell/test-suite/h-ignore-utf.test diff --git a/test-suite/h-keepcase.test b/zspell/test-suite/h-keepcase.test similarity index 100% rename from test-suite/h-keepcase.test rename to zspell/test-suite/h-keepcase.test diff --git a/test-suite/h-korean.test b/zspell/test-suite/h-korean.test similarity index 100% rename from test-suite/h-korean.test rename to zspell/test-suite/h-korean.test diff --git a/test-suite/h-limit-multiple-compounding.test b/zspell/test-suite/h-limit-multiple-compounding.test similarity index 100% rename from test-suite/h-limit-multiple-compounding.test rename to zspell/test-suite/h-limit-multiple-compounding.test diff --git a/test-suite/h-map-utf.test b/zspell/test-suite/h-map-utf.test similarity index 100% rename from test-suite/h-map-utf.test rename to zspell/test-suite/h-map-utf.test diff --git a/test-suite/h-map.test b/zspell/test-suite/h-map.test similarity index 100% rename from test-suite/h-map.test rename to zspell/test-suite/h-map.test diff --git a/test-suite/h-morph.test b/zspell/test-suite/h-morph.test similarity index 100% rename from test-suite/h-morph.test rename to zspell/test-suite/h-morph.test diff --git a/test-suite/h-needaffix.test b/zspell/test-suite/h-needaffix.test similarity index 100% rename from test-suite/h-needaffix.test rename to zspell/test-suite/h-needaffix.test diff --git a/test-suite/h-needaffix2.test b/zspell/test-suite/h-needaffix2.test similarity index 100% rename from test-suite/h-needaffix2.test rename to zspell/test-suite/h-needaffix2.test diff --git a/test-suite/h-needaffix3.test b/zspell/test-suite/h-needaffix3.test similarity index 100% rename from test-suite/h-needaffix3.test rename to zspell/test-suite/h-needaffix3.test diff --git a/test-suite/h-needaffix4.test b/zspell/test-suite/h-needaffix4.test similarity index 100% rename from test-suite/h-needaffix4.test rename to zspell/test-suite/h-needaffix4.test diff --git a/test-suite/h-needaffix5.test b/zspell/test-suite/h-needaffix5.test similarity index 100% rename from test-suite/h-needaffix5.test rename to zspell/test-suite/h-needaffix5.test diff --git a/test-suite/h-nepali.test b/zspell/test-suite/h-nepali.test similarity index 100% rename from test-suite/h-nepali.test rename to zspell/test-suite/h-nepali.test diff --git a/test-suite/h-nosuggest.test b/zspell/test-suite/h-nosuggest.test similarity index 100% rename from test-suite/h-nosuggest.test rename to zspell/test-suite/h-nosuggest.test diff --git a/test-suite/h-oconv.test b/zspell/test-suite/h-oconv.test similarity index 100% rename from test-suite/h-oconv.test rename to zspell/test-suite/h-oconv.test diff --git a/test-suite/h-slash.test b/zspell/test-suite/h-slash.test similarity index 100% rename from test-suite/h-slash.test rename to zspell/test-suite/h-slash.test diff --git a/test-suite/h-timelimit.test b/zspell/test-suite/h-timelimit.test similarity index 100% rename from test-suite/h-timelimit.test rename to zspell/test-suite/h-timelimit.test diff --git a/test-suite/h-utf8.test b/zspell/test-suite/h-utf8.test similarity index 100% rename from test-suite/h-utf8.test rename to zspell/test-suite/h-utf8.test diff --git a/test-suite/h-utfcoumpound.test b/zspell/test-suite/h-utfcoumpound.test similarity index 100% rename from test-suite/h-utfcoumpound.test rename to zspell/test-suite/h-utfcoumpound.test diff --git a/test-suite/h-zeroaffix.test b/zspell/test-suite/h-zeroaffix.test similarity index 100% rename from test-suite/h-zeroaffix.test rename to zspell/test-suite/h-zeroaffix.test diff --git a/test-suite/numbers.test b/zspell/test-suite/numbers.test similarity index 100% rename from test-suite/numbers.test rename to zspell/test-suite/numbers.test diff --git a/test-suite/stemming-morph.test b/zspell/test-suite/stemming-morph.test similarity index 100% rename from test-suite/stemming-morph.test rename to zspell/test-suite/stemming-morph.test diff --git a/test-suite/zeroaffix.test b/zspell/test-suite/zeroaffix.test similarity index 100% rename from test-suite/zeroaffix.test rename to zspell/test-suite/zeroaffix.test