Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(223)

Side by Side Diff: tools/test.py

Issue 99051: Remove dependency on libstdc++ from test framework. (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: Created 11 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « test/cctest/test-serialize.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 #!/usr/bin/env python 1 #!/usr/bin/env python
2 # 2 #
3 # Copyright 2008 the V8 project authors. All rights reserved. 3 # Copyright 2008 the V8 project authors. All rights reserved.
4 # Redistribution and use in source and binary forms, with or without 4 # Redistribution and use in source and binary forms, with or without
5 # modification, are permitted provided that the following conditions are 5 # modification, are permitted provided that the following conditions are
6 # met: 6 # met:
7 # 7 #
8 # * Redistributions of source code must retain the above copyright 8 # * Redistributions of source code must retain the above copyright
9 # notice, this list of conditions and the following disclaimer. 9 # notice, this list of conditions and the following disclaimer.
10 # * Redistributions in binary form must reproduce the above 10 # * Redistributions in binary form must reproduce the above
(...skipping 604 matching lines...) Expand 10 before | Expand all | Expand 10 after
615 return SKIP in c.outcomes or SLOW in c.outcomes 615 return SKIP in c.outcomes or SLOW in c.outcomes
616 cases_to_run = [ c for c in all_cases if not DoSkip(c) ] 616 cases_to_run = [ c for c in all_cases if not DoSkip(c) ]
617 progress = PROGRESS_INDICATORS[progress](cases_to_run) 617 progress = PROGRESS_INDICATORS[progress](cases_to_run)
618 return progress.Run(tasks) 618 return progress.Run(tasks)
619 619
620 620
621 def BuildRequirements(context, requirements, mode, scons_flags): 621 def BuildRequirements(context, requirements, mode, scons_flags):
622 command_line = (['scons', '-Y', context.workspace, 'mode=' + ",".join(mode)] 622 command_line = (['scons', '-Y', context.workspace, 'mode=' + ",".join(mode)]
623 + requirements 623 + requirements
624 + scons_flags) 624 + scons_flags)
625 print(command_line)
Christian Plesner Hansen 2009/04/27 10:45:40 Debug print
625 output = ExecuteNoCapture(command_line, context) 626 output = ExecuteNoCapture(command_line, context)
626 return output.exit_code == 0 627 return output.exit_code == 0
627 628
628 629
629 # ------------------------------------------- 630 # -------------------------------------------
630 # --- T e s t C o n f i g u r a t i o n --- 631 # --- T e s t C o n f i g u r a t i o n ---
631 # ------------------------------------------- 632 # -------------------------------------------
632 633
633 634
634 SKIP = 'skip' 635 SKIP = 'skip'
(...skipping 686 matching lines...) Expand 10 before | Expand all | Expand 10 after
1321 for entry in timed_tests[:20]: 1322 for entry in timed_tests[:20]:
1322 t = FormatTime(entry.duration) 1323 t = FormatTime(entry.duration)
1323 sys.stderr.write("%4i (%s) %s\n" % (index, t, entry.GetLabel())) 1324 sys.stderr.write("%4i (%s) %s\n" % (index, t, entry.GetLabel()))
1324 index += 1 1325 index += 1
1325 1326
1326 return result 1327 return result
1327 1328
1328 1329
1329 if __name__ == '__main__': 1330 if __name__ == '__main__':
1330 sys.exit(Main()) 1331 sys.exit(Main())
OLDNEW
« no previous file with comments | « test/cctest/test-serialize.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698