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

Issue 9696046: Add test running support for tests generated as pexes. (Closed)

Created:
8 years, 9 months ago by Derek Schuff
Modified:
8 years, 9 months ago
CC:
native-client-reviews_googlegroups.com
Visibility:
Public.

Description

Add test running support for tests generated as pexes. Hooks into CommandSelLdrTestNacl et al to make the translation part of the test. R=robertm,jvoung,sehr,Karl BUG= http://code.google.com/p/nativeclient/issues/detail?id=2609 TEST=smoke_tests,large_tests Committed: https://src.chromium.org/viewvc/native_client?view=rev&revision=8014

Patch Set 1 #

Total comments: 13

Patch Set 2 : suggestions #

Total comments: 7
Unified diffs Side-by-side diffs Delta from patch set Stats (+66 lines, -16 lines) Patch
M SConstruct View 1 4 chunks +27 lines, -2 lines 5 comments Download
M site_scons/site_tools/naclsdk.py View 5 chunks +15 lines, -7 lines 1 comment Download
M tests/barebones/nacl.scons View 1 chunk +2 lines, -1 line 0 comments Download
M tests/minnacl/nacl.scons View 1 chunk +9 lines, -1 line 1 comment Download
M tests/mmap/nacl.scons View 1 chunk +1 line, -1 line 0 comments Download
M tests/multiple_sandboxes/nacl.scons View 1 chunk +9 lines, -1 line 0 comments Download
M tests/sysbasic/nacl.scons View 1 chunk +1 line, -1 line 0 comments Download
M tests/threads/nacl.scons View 1 chunk +1 line, -1 line 0 comments Download
M tests/toolchain/nacl.scons View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 8 (0 generated)
(google.com) Derek Schuff
just the run without the rename
8 years, 9 months ago (2012-03-13 20:36:22 UTC) #1
robertm
I wonder would it simplify things for you if we simple did not support some ...
8 years, 9 months ago (2012-03-13 20:57:50 UTC) #2
jvoung - send to chromium...
https://chromiumcodereview.appspot.com/9696046/diff/1/SConstruct File SConstruct (right): https://chromiumcodereview.appspot.com/9696046/diff/1/SConstruct#newcode1195 SConstruct:1195: if (env.Bit('pnacl_stop_with_pexe') and env['NACL_BUILD_FAMILY'] != 'TRUSTED'): 80 col (barely) ...
8 years, 9 months ago (2012-03-13 20:58:31 UTC) #3
(google.com) Derek Schuff
PTAL https://chromiumcodereview.appspot.com/9696046/diff/1/SConstruct File SConstruct (right): https://chromiumcodereview.appspot.com/9696046/diff/1/SConstruct#newcode1195 SConstruct:1195: if (env.Bit('pnacl_stop_with_pexe') and env['NACL_BUILD_FAMILY'] != 'TRUSTED'): hm. since ...
8 years, 9 months ago (2012-03-13 21:23:03 UTC) #4
jvoung - send to chromium...
lgtm https://chromiumcodereview.appspot.com/9696046/diff/1/SConstruct File SConstruct (right): https://chromiumcodereview.appspot.com/9696046/diff/1/SConstruct#newcode1996 SConstruct:1996: if (env.Bit('pnacl_stop_with_pexe') and env['NACL_BUILD_FAMILY'] != 'TRUSTED'): On 2012/03/13 ...
8 years, 9 months ago (2012-03-13 21:41:23 UTC) #5
robertm
https://chromiumcodereview.appspot.com/9696046/diff/7004/SConstruct File SConstruct (right): https://chromiumcodereview.appspot.com/9696046/diff/7004/SConstruct#newcode1195 SConstruct:1195: if env.Bit('pnacl_stop_with_pexe'): I am not a big fan of ...
8 years, 9 months ago (2012-03-13 21:53:15 UTC) #6
(google.com) Derek Schuff
https://chromiumcodereview.appspot.com/9696046/diff/7004/SConstruct File SConstruct (right): https://chromiumcodereview.appspot.com/9696046/diff/7004/SConstruct#newcode1195 SConstruct:1195: if env.Bit('pnacl_stop_with_pexe'): Maybe... until someone else tries to add ...
8 years, 9 months ago (2012-03-13 21:59:27 UTC) #7
Mark Seaborn
8 years, 9 months ago (2012-03-13 22:16:55 UTC) #8
Drive-by review.  Here's a change to fix the problems:
https://chromiumcodereview.appspot.com/9695064/

https://chromiumcodereview.appspot.com/9696046/diff/7004/SConstruct
File SConstruct (right):

https://chromiumcodereview.appspot.com/9696046/diff/7004/SConstruct#newcode1956
SConstruct:1956: # Translate the given pexe. Return the name of the translated
nexe and
Sentence not completed.

https://chromiumcodereview.appspot.com/9696046/diff/7004/SConstruct#newcode1960
SConstruct:1960: trans_flags = []
trans_flag is not used.

https://chromiumcodereview.appspot.com/9696046/diff/7004/SConstruct#newcode1965
SConstruct:1965: return nexe_name, pexe_node
In the call sites, nexe_name is not used.

https://chromiumcodereview.appspot.com/9696046/diff/7004/site_scons/site_tool...
File site_scons/site_tools/naclsdk.py (right):

https://chromiumcodereview.appspot.com/9696046/diff/7004/site_scons/site_tool...
site_scons/site_tools/naclsdk.py:222: 
Style nit: Shouldn't have >1 blank line inside a function

https://chromiumcodereview.appspot.com/9696046/diff/7004/tests/minnacl/nacl.s...
File tests/minnacl/nacl.scons (right):

https://chromiumcodereview.appspot.com/9696046/diff/7004/tests/minnacl/nacl.s...
tests/minnacl/nacl.scons:55: extra_deps = []
What's with this extra_deps when SCons will track dependencies automatically
when you use target objects?

Powered by Google App Engine
This is Rietveld 408576698