diff options
author | Clinton Stimpson <clinton@elemtech.com> | 2014-12-27 04:19:14 (GMT) |
---|---|---|
committer | Clinton Stimpson <clinton@elemtech.com> | 2015-01-09 03:56:51 (GMT) |
commit | 9a8ab86645b0ea1fcbd1b069694d0cbb4fa2621a (patch) | |
tree | d6cfe01924dd4c3ca3f57acd5d3fa59b60cde4fa /Tests/RunCMake/GeneratorExpression/ValidTarget-TARGET_PDB_FILE-check.cmake | |
parent | 7ecbade8877522d9d565bcb2216f71426873f564 (diff) | |
download | CMake-9a8ab86645b0ea1fcbd1b069694d0cbb4fa2621a.zip CMake-9a8ab86645b0ea1fcbd1b069694d0cbb4fa2621a.tar.gz CMake-9a8ab86645b0ea1fcbd1b069694d0cbb4fa2621a.tar.bz2 |
Encoding: Modify tests to work using non-ascii paths.
For complex*, CustomCommand and OutDir tests, non-ascii paths
are avoided in test code by using relative paths, and setting
the working when running the test. This also avoids the
need to internationalize the test code.
For RunCMake.GeneratorExpression, use a UTF-8 encoding in
file(STRINGS) to retrieve the compiled absolute path correctly.
Diffstat (limited to 'Tests/RunCMake/GeneratorExpression/ValidTarget-TARGET_PDB_FILE-check.cmake')
-rw-r--r-- | Tests/RunCMake/GeneratorExpression/ValidTarget-TARGET_PDB_FILE-check.cmake | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Tests/RunCMake/GeneratorExpression/ValidTarget-TARGET_PDB_FILE-check.cmake b/Tests/RunCMake/GeneratorExpression/ValidTarget-TARGET_PDB_FILE-check.cmake index 748d14f..2a588bc 100644 --- a/Tests/RunCMake/GeneratorExpression/ValidTarget-TARGET_PDB_FILE-check.cmake +++ b/Tests/RunCMake/GeneratorExpression/ValidTarget-TARGET_PDB_FILE-check.cmake @@ -1,4 +1,4 @@ -file(STRINGS ${RunCMake_TEST_BINARY_DIR}/test.txt TEST_TXT) +file(STRINGS ${RunCMake_TEST_BINARY_DIR}/test.txt TEST_TXT ENCODING UTF-8) list(GET TEST_TXT 0 PDB_PATH) list(GET TEST_TXT 1 PDB_NAME) |