2015-04-27 Sandra Loosemore <sandra@codesourcery.com>
PR libstdc++/65909
libstdc++-v3/
* testsuite/lib/libstdc++.exp (check_v3_target_namedlocale):
Make the generated test program fail gracefully if the target
doesn't support passing command-line arguments.
From-SVN: r222497
+2015-04-27 Sandra Loosemore <sandra@codesourcery.com>
+
+ PR libstdc++/65909
+ * testsuite/lib/libstdc++.exp (check_v3_target_namedlocale):
+ Make the generated test program fail gracefully if the target
+ doesn't support passing command-line arguments.
+
2015-04-27 Federico Lenarduzzi <federico.lenarduzzi@tallertechnologies.com>
Jonathan Wakely <jwakely@redhat.com>
puts $f "using namespace std;"
puts $f "int main (int argc, char** argv)"
puts $f "{"
+ puts $f " if (argc < 2)"
+ puts $f " {"
+ puts $f " printf(\"locale support test not supported\\n\");"
+ puts $f " return 1;"
+ puts $f " }"
puts $f " try"
puts $f " {"
puts $f " locale(*(argv + 1));"