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

Issue 940693004: bpf_dsl: Change bpf_dsl_unittests into actual standalone unit tests (Closed)

Created:
5 years, 10 months ago by mdempsky
Modified:
5 years, 10 months ago
CC:
chromium-reviews, rickyz+watch_chromium.org, jln+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

bpf_dsl: Change bpf_dsl_unittests into actual standalone unit tests Previously they were more like integration tests that relied on seccomp-bpf for installing the policies and executing them via live system calls. BUG=449357 Committed: https://crrev.com/fdb1befee90e6849a1743fcacbe01521261a6366 Cr-Commit-Position: refs/heads/master@{#317238}

Patch Set 1 #

Patch Set 2 : Restructure somewhat #

Total comments: 8

Patch Set 3 : Respond to jln feedback #

Unified diffs Side-by-side diffs Delta from patch set Stats (+161 lines, -79 lines) Patch
M sandbox/linux/bpf_dsl/bpf_dsl_unittest.cc View 1 2 9 chunks +150 lines, -75 lines 0 comments Download
M sandbox/linux/bpf_dsl/seccomp_macros.h View 1 2 1 chunk +2 lines, -0 lines 0 comments Download
M sandbox/linux/bpf_dsl/trap_registry.h View 1 2 1 chunk +4 lines, -0 lines 0 comments Download
M sandbox/linux/seccomp-bpf/trap.h View 1 2 1 chunk +3 lines, -3 lines 0 comments Download
M sandbox/linux/seccomp-bpf/verifier.h View 2 chunks +2 lines, -1 line 0 comments Download

Messages

Total messages: 10 (3 generated)
mdempsky
5 years, 10 months ago (2015-02-19 06:18:41 UTC) #2
jln (very slow on Chromium)
lgtm, this is great! The test are kind of funny-looking though, because we're using real ...
5 years, 10 months ago (2015-02-19 20:19:17 UTC) #3
mdempsky
On 2015/02/19 20:19:17, jln wrote: > lgtm, this is great! Thanks. > The test are ...
5 years, 10 months ago (2015-02-20 02:21:47 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/940693004/40001
5 years, 10 months ago (2015-02-20 04:15:49 UTC) #7
commit-bot: I haz the power
Committed patchset #3 (id:40001)
5 years, 10 months ago (2015-02-20 04:18:54 UTC) #8
commit-bot: I haz the power
Patchset 3 (id:??) landed as https://crrev.com/fdb1befee90e6849a1743fcacbe01521261a6366 Cr-Commit-Position: refs/heads/master@{#317238}
5 years, 10 months ago (2015-02-20 04:19:29 UTC) #9
kaliamoorthi
5 years, 10 months ago (2015-02-20 11:07:27 UTC) #10
Message was sent while issue was closed.
A revert of this CL (patchset #3 id:40001) has been created in
https://codereview.chromium.org/944823002/ by kaliamoorthi@chromium.org.

The reason for reverting is: A related CL was reverted. Reverting this to ensure
that this does not cause a failure due to the revert..

Powered by Google App Engine
This is Rietveld 408576698