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

Issue 12256018: [MIPS] Add remaining parts for building tests for MIPS (Closed)

Created:
7 years, 10 months ago by petarj
Modified:
7 years, 9 months ago
CC:
native-client-reviews_googlegroups.com
Base URL:
http://src.chromium.org/native_client/trunk/src/native_client/
Visibility:
Public.

Description

[MIPS] Add remaining parts for building tests for MIPS This change includes remaining parts of the patch for building tests for MIPS. Some tests have been temporarily disabled for execution inside of the emulator. Minor change in stack_frame.cc in code unrelated to this CL to satisfy presubmit script. BUG= https://code.google.com/p/nativeclient/issues/detail?id=2275 TEST= ./scons hello_world --mode=nacl platform=mips32 --verbose Committed: http://src.chromium.org/viewvc/native_client?view=rev&revision=11001

Patch Set 1 #

Total comments: 45

Patch Set 2 : Update per codereview. #

Total comments: 21

Patch Set 3 : Updates per code review. #

Patch Set 4 : Minor change. #

Total comments: 8

Patch Set 5 : Minor cleanup. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+110 lines, -41 lines) Patch
M SConstruct View 1 2 1 chunk +4 lines, -0 lines 0 comments Download
M tests/barebones/top_of_sandbox.c View 1 2 1 chunk +8 lines, -0 lines 0 comments Download
M tests/data_not_executable/execute_data.c View 1 1 chunk +3 lines, -0 lines 0 comments Download
M tests/data_not_executable/nacl.scons View 1 1 chunk +3 lines, -5 lines 0 comments Download
M tests/exception_test/exception_crash_test.c View 1 2 3 4 1 chunk +19 lines, -0 lines 0 comments Download
M tests/exception_test/exception_test.c View 1 2 3 4 5 chunks +20 lines, -25 lines 0 comments Download
M tests/exception_test/nacl.scons View 1 1 chunk +2 lines, -3 lines 0 comments Download
M tests/stack_alignment/stack_alignment_asm_test.c View 1 2 3 4 1 chunk +15 lines, -0 lines 0 comments Download
M tests/stubout_mode/nacl.scons View 1 2 3 4 1 chunk +10 lines, -2 lines 0 comments Download
M tests/stubout_mode/partly_invalid.c View 1 3 chunks +16 lines, -3 lines 0 comments Download
M tests/toolchain/eh_return.c View 1 1 chunk +2 lines, -0 lines 0 comments Download
M tests/toolchain/stack_frame.cc View 1 2 3 2 chunks +3 lines, -1 line 0 comments Download
M tests/trusted_crash/crash_in_syscall/nacl.scons View 1 3 4 1 chunk +1 line, -2 lines 0 comments Download
M tools/command_tester.py View 1 chunk +4 lines, -0 lines 0 comments Download

Messages

Total messages: 16 (0 generated)
petarj
7 years, 10 months ago (2013-02-13 19:03:09 UTC) #1
Roland McGrath
https://codereview.chromium.org/12256018/diff/1/tests/barebones/barebones.h File tests/barebones/barebones.h (right): https://codereview.chromium.org/12256018/diff/1/tests/barebones/barebones.h#newcode39 tests/barebones/barebones.h:39: # define NACL_STACK_ALIGN_MASK (0x7) We want this to be ...
7 years, 10 months ago (2013-02-13 19:28:39 UTC) #2
Mark Seaborn
https://codereview.chromium.org/12256018/diff/1/run.py File run.py (right): https://codereview.chromium.org/12256018/diff/1/run.py#newcode77 run.py:77: 'toolchain', 'linux_mips-trusted') Nit: fix indentation https://codereview.chromium.org/12256018/diff/1/run.py#newcode78 run.py:78: env.qemu_mips32 = ...
7 years, 10 months ago (2013-02-13 22:14:09 UTC) #3
petarj
https://codereview.chromium.org/12256018/diff/1/tests/barebones/barebones.h File tests/barebones/barebones.h (right): https://codereview.chromium.org/12256018/diff/1/tests/barebones/barebones.h#newcode39 tests/barebones/barebones.h:39: # define NACL_STACK_ALIGN_MASK (0x7) On 2013/02/13 22:14:09, Mark Seaborn ...
7 years, 10 months ago (2013-02-14 18:04:14 UTC) #4
Mark Seaborn
On 14 February 2013 10:04, <petarj@mips.com> wrote: > > https://codereview.chromium.**org/12256018/diff/1/tests/** > barebones/barebones.h<https://codereview.chromium.org/12256018/diff/1/tests/barebones/barebones.h> > File tests/barebones/barebones.h ...
7 years, 10 months ago (2013-02-14 18:13:35 UTC) #5
petarj
Second patch uploaded. https://codereview.chromium.org/12256018/diff/1/run.py File run.py (right): https://codereview.chromium.org/12256018/diff/1/run.py#newcode77 run.py:77: 'toolchain', 'linux_mips-trusted') On 2013/02/13 22:14:09, Mark ...
7 years, 9 months ago (2013-03-05 17:50:03 UTC) #6
petarj
On 2013/03/05 17:50:03, petarj wrote: > Second patch uploaded. Ping.
7 years, 9 months ago (2013-03-08 23:24:27 UTC) #7
Mark Seaborn
On 8 March 2013 15:24, <petarj@mips.com> wrote: > On 2013/03/05 17:50:03, petarj wrote: > >> ...
7 years, 9 months ago (2013-03-11 15:25:16 UTC) #8
Mark Seaborn
https://codereview.chromium.org/12256018/diff/17001/tests/barebones/barebones.h File tests/barebones/barebones.h (right): https://codereview.chromium.org/12256018/diff/17001/tests/barebones/barebones.h#newcode2 tests/barebones/barebones.h:2: * Copyright (c) 2010 The Native Client Authors. All ...
7 years, 9 months ago (2013-03-11 15:54:37 UTC) #9
petarj
Remaining parts of the change uploaded. https://codereview.chromium.org/12256018/diff/17001/tests/barebones/top_of_sandbox.c File tests/barebones/top_of_sandbox.c (right): https://codereview.chromium.org/12256018/diff/17001/tests/barebones/top_of_sandbox.c#newcode36 tests/barebones/top_of_sandbox.c:36: "lw %0, -32767(%0)\n" ...
7 years, 9 months ago (2013-03-14 01:13:03 UTC) #10
Mark Seaborn
LGTM https://codereview.chromium.org/12256018/diff/1/tests/exception_test/exception_test.c File tests/exception_test/exception_test.c (right): https://codereview.chromium.org/12256018/diff/1/tests/exception_test/exception_test.c#newcode67 tests/exception_test/exception_test.c:67: assert((uintptr_t) pointer % 8 == 0); Answering your ...
7 years, 9 months ago (2013-03-14 15:48:00 UTC) #11
petarj
Updated patch. Includes minor cleanup. https://codereview.chromium.org/12256018/diff/43002/tests/exception_test/exception_test.c File tests/exception_test/exception_test.c (right): https://codereview.chromium.org/12256018/diff/43002/tests/exception_test/exception_test.c#newcode62 tests/exception_test/exception_test.c:62: } __attribute__((aligned(16))); On 2013/03/14 ...
7 years, 9 months ago (2013-03-15 18:34:07 UTC) #12
petarj
I forgot to answer your "align" attribute question. It does work except for variables on ...
7 years, 9 months ago (2013-03-15 18:44:00 UTC) #13
Mark Seaborn
LGTM
7 years, 9 months ago (2013-03-15 19:57:56 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://nativeclient-status.appspot.com/cq/petarj@mips.com/12256018/68001
7 years, 9 months ago (2013-03-15 19:59:08 UTC) #15
commit-bot: I haz the power
7 years, 9 months ago (2013-03-15 22:07:37 UTC) #16
Message was sent while issue was closed.
Change committed as 11001

Powered by Google App Engine
This is Rietveld 408576698