mirror of
https://github.com/FEX-Emu/xxHash.git
synced 2024-11-23 22:49:39 +00:00
cac3ca4d5d
This new test doesn't use any Unicode in the source files, instead encoding all UTF-8 and UTF-16 as hex. The test script will be generated from a C file, in which both a shell script and a batch script will be generated, as well as the Unicode file to test. On Cygwin, MinGW, and MSYS, we will automatically bail from the shell script to the batch script, as cmd.exe has more reliable Unicode support, at least on Windows 7 and later. When the make rule is called, it first checks if `$LANG` contains UTF-8, defining the (overridable) ENABLE_UNICODE flag. If so, it will skip the test with a warning. Also fixed an issue with printf in multiInclude.c causing warnings on old MinGW versions which expect %I64, and updated the .gitignore.
46 lines
486 B
Plaintext
46 lines
486 B
Plaintext
# objects
|
|
*.o
|
|
*.obj
|
|
*.s
|
|
|
|
# libraries
|
|
libxxhash.*
|
|
|
|
# Executables
|
|
*.exe
|
|
xxh32sum
|
|
xxh64sum
|
|
xxh128sum
|
|
xxhsum
|
|
xxhsum32
|
|
xxhsum_privateXXH
|
|
xxhsum_inlinedXXH
|
|
tests/generate_unicode_test
|
|
|
|
# compilation chain
|
|
.clang_complete
|
|
|
|
# Mac OS-X artefacts
|
|
*.dSYM
|
|
.DS_Store
|
|
|
|
# Wasm / emcc / emscripten artefacts
|
|
*.html
|
|
*.wasm
|
|
*.js
|
|
|
|
# CMake build directories
|
|
build*/
|
|
|
|
# project managers artifacts
|
|
.projectile
|
|
|
|
# analyzer artifacts
|
|
infer-out
|
|
|
|
# test artifacts
|
|
.test*
|
|
tmp*
|
|
tests/*.unicode
|
|
tests/unicode_test*
|