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

Issue 10790023: VS-Addin Build/Test/Install scripts (Closed)

Created:
8 years, 5 months ago by tysand
Modified:
8 years, 5 months ago
Reviewers:
noelallen1, binji
CC:
native-client-reviews_googlegroups.com
Visibility:
Public.

Description

Adding scripts to build and test the add-in, as well as installer script. Only the .bat and .py files need reviewing. Other changes were just from moving files around. Cleaned up python scripts. Will now parse the output. Fixed test script to delete the results file to allow rerunning tests. Packaged zip file now created Added build and test scripts BUG=136414 TEST= Committed: https://code.google.com/p/nativeclient-sdk/source/detail?r=1402

Patch Set 1 #

Total comments: 30

Patch Set 2 : #

Total comments: 2

Patch Set 3 : #

Total comments: 6

Messages

Total messages: 5 (0 generated)
binji
http://codereview.chromium.org/10790023/diff/1/visual_studio/NativeClientVSAddIn/InstallerResources/install.py File visual_studio/NativeClientVSAddIn/InstallerResources/install.py (right): http://codereview.chromium.org/10790023/diff/1/visual_studio/NativeClientVSAddIn/InstallerResources/install.py#newcode17 visual_studio/NativeClientVSAddIn/InstallerResources/install.py:17: if platform.system() != 'Windows': Use the standard python file ...
8 years, 5 months ago (2012-07-17 00:05:58 UTC) #1
tysand
Fixed Ben's suggestions. http://codereview.chromium.org/10790023/diff/1/visual_studio/NativeClientVSAddIn/InstallerResources/install.py File visual_studio/NativeClientVSAddIn/InstallerResources/install.py (right): http://codereview.chromium.org/10790023/diff/1/visual_studio/NativeClientVSAddIn/InstallerResources/install.py#newcode17 visual_studio/NativeClientVSAddIn/InstallerResources/install.py:17: if platform.system() != 'Windows': On 2012/07/17 ...
8 years, 5 months ago (2012-07-17 01:18:18 UTC) #2
noelallen1
LGTM http://codereview.chromium.org/10790023/diff/11/visual_studio/NativeClientVSAddIn/check_test_results.py File visual_studio/NativeClientVSAddIn/check_test_results.py (right): http://codereview.chromium.org/10790023/diff/11/visual_studio/NativeClientVSAddIn/check_test_results.py#newcode44 visual_studio/NativeClientVSAddIn/check_test_results.py:44: main() sys.exit(main()) So that you return the result ...
8 years, 5 months ago (2012-07-17 01:34:59 UTC) #3
tysand
http://codereview.chromium.org/10790023/diff/11/visual_studio/NativeClientVSAddIn/check_test_results.py File visual_studio/NativeClientVSAddIn/check_test_results.py (right): http://codereview.chromium.org/10790023/diff/11/visual_studio/NativeClientVSAddIn/check_test_results.py#newcode44 visual_studio/NativeClientVSAddIn/check_test_results.py:44: main() On 2012/07/17 01:34:59, noelallen1 wrote: > sys.exit(main()) > ...
8 years, 5 months ago (2012-07-17 01:44:41 UTC) #4
binji
8 years, 5 months ago (2012-07-17 17:38:55 UTC) #5
lgtm

FYI, it is customary to wait for an lgtm from a reviewer if he gives feedback...
it's no big deal here, but sometimes a reviewer won't give all feedback in one
response. I also like to be able to see that you were following the feedback the
way I expected.

http://codereview.chromium.org/10790023/diff/12/visual_studio/NativeClientVSA...
File visual_studio/NativeClientVSAddIn/InstallerResources/install.py (right):

http://codereview.chromium.org/10790023/diff/12/visual_studio/NativeClientVSA...
visual_studio/NativeClientVSAddIn/InstallerResources/install.py:22:
nacl_sdk_root = os.path.expandvars('%NACL_SDK_ROOT%', None)
I still like os.getenv better here (it doesn't require the platform specific
%VAR%), but OK

http://codereview.chromium.org/10790023/diff/12/visual_studio/NativeClientVSA...
visual_studio/NativeClientVSAddIn/InstallerResources/install.py:24: if
nacl_sdk_root == None:
Tests against None are usually written

if nacl_sdk_root is None:

or

if nacl_sdk_root:

http://codereview.chromium.org/10790023/diff/12/visual_studio/NativeClientVSA...
visual_studio/NativeClientVSAddIn/InstallerResources/install.py:30: addInDir =
os.path.expandvars(
nit: should be add_in_dir

http://codereview.chromium.org/10790023/diff/12/visual_studio/NativeClientVSA...
File visual_studio/NativeClientVSAddIn/create_package.py (right):

http://codereview.chromium.org/10790023/diff/12/visual_studio/NativeClientVSA...
visual_studio/NativeClientVSAddIn/create_package.py:13: import glob
nit: can remove, not used anymore

http://codereview.chromium.org/10790023/diff/12/visual_studio/NativeClientVSA...
visual_studio/NativeClientVSAddIn/create_package.py:15: import shutil
same here

http://codereview.chromium.org/10790023/diff/12/visual_studio/NativeClientVSA...
visual_studio/NativeClientVSAddIn/create_package.py:31: FILE_LIST = [
Nice, a lot easier to read now

Powered by Google App Engine
This is Rietveld 408576698