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

Side by Side Diff: test/cctest/SConscript

Issue 28112: Adding unit tests for profiler's stack tracer. (Closed)
Patch Set: Changes according to comments Created 11 years, 9 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
« no previous file with comments | « src/log.cc ('k') | test/cctest/test-log-ia32.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright 2008 the V8 project authors. All rights reserved. 1 # Copyright 2008 the V8 project authors. All rights reserved.
2 # Redistribution and use in source and binary forms, with or without 2 # Redistribution and use in source and binary forms, with or without
3 # modification, are permitted provided that the following conditions are 3 # modification, are permitted provided that the following conditions are
4 # met: 4 # met:
5 # 5 #
6 # * Redistributions of source code must retain the above copyright 6 # * Redistributions of source code must retain the above copyright
7 # notice, this list of conditions and the following disclaimer. 7 # notice, this list of conditions and the following disclaimer.
8 # * Redistributions in binary form must reproduce the above 8 # * Redistributions in binary form must reproduce the above
9 # copyright notice, this list of conditions and the following 9 # copyright notice, this list of conditions and the following
10 # disclaimer in the documentation and/or other materials provided 10 # disclaimer in the documentation and/or other materials provided
(...skipping 24 matching lines...) Expand all
35 SOURCES = { 35 SOURCES = {
36 'all': [ 36 'all': [
37 'test-hashmap.cc', 'test-debug.cc', 'test-api.cc', 'test-flags.cc', 37 'test-hashmap.cc', 'test-debug.cc', 'test-api.cc', 'test-flags.cc',
38 'test-ast.cc', 'test-heap.cc', 'test-utils.cc', 'test-compiler.cc', 38 'test-ast.cc', 'test-heap.cc', 'test-utils.cc', 'test-compiler.cc',
39 'test-spaces.cc', 'test-mark-compact.cc', 'test-lock.cc', 39 'test-spaces.cc', 'test-mark-compact.cc', 'test-lock.cc',
40 'test-conversions.cc', 'test-strings.cc', 'test-serialize.cc', 40 'test-conversions.cc', 'test-strings.cc', 'test-serialize.cc',
41 'test-decls.cc', 'test-alloc.cc', 'test-regexp.cc', 'test-threads.cc', 41 'test-decls.cc', 'test-alloc.cc', 'test-regexp.cc', 'test-threads.cc',
42 'test-sockets.cc' 42 'test-sockets.cc'
43 ], 43 ],
44 'arch:arm': ['test-assembler-arm.cc', 'test-disasm-arm.cc'], 44 'arch:arm': ['test-assembler-arm.cc', 'test-disasm-arm.cc'],
45 'arch:ia32': ['test-assembler-ia32.cc', 'test-disasm-ia32.cc'], 45 'arch:ia32': ['test-assembler-ia32.cc', 'test-disasm-ia32.cc', 'test-log-ia32. cc'],
46 'os:linux': ['test-platform-linux.cc'], 46 'os:linux': ['test-platform-linux.cc'],
47 'os:macos': ['test-platform-macos.cc'], 47 'os:macos': ['test-platform-macos.cc'],
48 'os:nullos': ['test-platform-nullos.cc'], 48 'os:nullos': ['test-platform-nullos.cc'],
49 'os:win32': ['test-platform-win32.cc'] 49 'os:win32': ['test-platform-win32.cc']
50 } 50 }
51 51
52 52
53 def Build(): 53 def Build():
54 cctest_files = context.GetRelevantSources(SOURCES) 54 cctest_files = context.GetRelevantSources(SOURCES)
55 env = Environment() 55 env = Environment()
56 env.Replace(**context.flags['cctest']) 56 env.Replace(**context.flags['cctest'])
57 context.ApplyEnvOverrides(env) 57 context.ApplyEnvOverrides(env)
58 # There seems to be a glitch in the way scons decides where to put 58 # There seems to be a glitch in the way scons decides where to put
59 # PDB files when compiling using MSVC so we specify it manually. 59 # PDB files when compiling using MSVC so we specify it manually.
60 # This should not affect any other platforms. 60 # This should not affect any other platforms.
61 return env.Program('cctest', ['cctest.cc', cctest_files, object_files], 61 return env.Program('cctest', ['cctest.cc', cctest_files, object_files],
62 PDB='cctest.exe.pdb') 62 PDB='cctest.exe.pdb')
63 63
64 64
65 program = Build() 65 program = Build()
66 Return('program') 66 Return('program')
OLDNEW
« no previous file with comments | « src/log.cc ('k') | test/cctest/test-log-ia32.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698