sort2.exp 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. # Copyright (C) 1997-2015 Free Software Foundation, Inc.
  2. # This program is free software; you can redistribute it and/or modify
  3. # it under the terms of the GNU General Public License as published by
  4. # the Free Software Foundation; either version 3 of the License, or
  5. # (at your option) any later version.
  6. #
  7. # This program is distributed in the hope that it will be useful,
  8. # but WITHOUT ANY WARRANTY; without even the implied warranty of
  9. # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  10. # GNU General Public License for more details.
  11. #
  12. # You should have received a copy of the GNU General Public License
  13. # along with GCC; see the file COPYING3. If not see
  14. # <http://www.gnu.org/licenses/>.
  15. global PERF_TEST
  16. if { ![info exists PERF_TEST] || "$PERF_TEST" != "yes" } {
  17. return
  18. }
  19. load_lib mike-gcc.exp
  20. load_lib gcc-defs.exp
  21. # These tests don't run runtest_file_p consistently if it
  22. # doesn't return the same values, so disable parallelization
  23. # of this *.exp file. The first parallel runtest to reach
  24. # this will run all the tests serially.
  25. if ![gcc_parallel_test_run_p sort2] {
  26. return
  27. }
  28. gcc_parallel_test_enable 0
  29. prebase
  30. set actions run
  31. set compiler_output "^$"
  32. set program_output "^$"
  33. postbase sort2.c $run $groups
  34. gcc_parallel_test_enable 1