libctf, binutils, include, ld: gettextize and improve error handling
[deliverable/binutils-gdb.git] / ld / testsuite / ld-ctf / ctf.exp
index be4c6ed3d6edd438d4ff3e4c21d85e1ccd9dc164..6893365f30ff326b2d73a242e84e53b5048afd46 100644 (file)
@@ -28,6 +28,11 @@ if ![is_elf_format] {
     return 0
 }
 
+if {[info exists env(LC_ALL)]} {
+    set old_lc_all $env(LC_ALL)
+}
+set env(LC_ALL) "C"
+
 set ctf_test_list [lsort [glob -nocomplain $srcdir/$subdir/*.d]]
 
 foreach ctf_test $ctf_test_list {
@@ -39,3 +44,9 @@ foreach ctf_test $ctf_test_list {
     verbose [file rootname $ctf_test]
     run_dump_test [file rootname $ctf_test] { { cc "-gt -fPIC" } }
 }
+
+if {[info exists old_lc_all]} {
+    set env(LC_ALL) $old_lc_all
+} else {
+    unset env(LC_ALL)
+}
This page took 0.024695 seconds and 4 git commands to generate.