Skip to content

Commit 8f417f4

Browse files
committed
yokai: unify a bit the detect test script output with CMake
1 parent 2833b13 commit 8f417f4

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

cmake/Yokai/Detection/detect

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
2828

2929
# Test script not used by the CMake build system. Usage example:
30-
# ./detect gcc
30+
# ./detect cc
3131

3232
set -ueo pipefail
3333

@@ -53,6 +53,7 @@ do
5353
"${@}" "${file_path}" -o "${temp_file}" 2>&1 \
5454
| grep '<REPORT<' \
5555
| sed -e 's/.*<REPORT<//;s/>REPORT>.*//' \
56+
| sed -e 's/YOKAI_COMPILER/YOKAI_C_COMPILER/' \
5657
| sed -e 's/YOKAI_SYSTEM/YOKAI_TARGET_SYSTEM/' \
5758
| sed -e 's/YOKAI_ARCH/YOKAI_TARGET_ARCH/' \
5859
| sed -E 's/^([^=]+)=/\U\1=/' \

0 commit comments

Comments
 (0)