aboutsummaryrefslogtreecommitdiffstats
path: root/pkg/runtest/run.go
diff options
context:
space:
mode:
authorDmitry Vyukov <dvyukov@google.com>2021-02-08 08:47:37 +0100
committerDmitry Vyukov <dvyukov@google.com>2021-02-12 18:09:14 +0100
commit98682e5e2aefc9aad61354f4f3ac93be96002a2a (patch)
tree04d0977ddcf677cc32fe7c8376e79765058406be /pkg/runtest/run.go
parent394d4bf77bc71747a74968f49ef153a8c9ff0cd4 (diff)
sys/linux: add ieee802154 descriptions
Diffstat (limited to 'pkg/runtest/run.go')
-rw-r--r--pkg/runtest/run.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/pkg/runtest/run.go b/pkg/runtest/run.go
index 437970768..5a071676a 100644
--- a/pkg/runtest/run.go
+++ b/pkg/runtest/run.go
@@ -468,6 +468,9 @@ func (ctx *Context) createCTest(p *prog.Prog, sandbox string, threaded bool, tim
if ctx.Features[host.FeatureWifiEmulation].Enabled {
opts.Wifi = true
}
+ if ctx.Features[host.Feature802154Emulation].Enabled {
+ opts.IEEE802154 = true
+ }
}
src, err := csource.Write(p, opts)
if err != nil {