diff options
| author | Dmitry Vyukov <dvyukov@google.com> | 2024-05-02 19:35:10 +0200 |
|---|---|---|
| committer | Dmitry Vyukov <dvyukov@google.com> | 2024-05-03 14:25:58 +0000 |
| commit | 3e60354bf2a2ad7e7fa81fe8107f3ce24e098287 (patch) | |
| tree | 385a30b0529d6412b546937d85791d823567bebf /executor/common_ext_test.go | |
| parent | a3ce1723b2f8f690652d181a96344ab9b1c438a4 (diff) | |
executor: make flatrpc build for C++
Diffstat (limited to 'executor/common_ext_test.go')
| -rw-r--r-- | executor/common_ext_test.go | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/executor/common_ext_test.go b/executor/common_ext_test.go index 00bca4494..d92eff00c 100644 --- a/executor/common_ext_test.go +++ b/executor/common_ext_test.go @@ -5,7 +5,6 @@ package executor import ( "bytes" - "os" "testing" "time" @@ -26,11 +25,7 @@ func TestCommonExt(t *testing.T) { if sysTarget.BrokenCompiler != "" { t.Skipf("skipping, broken cross-compiler: %v", sysTarget.BrokenCompiler) } - bin, err := csource.BuildFile(target, "executor.cc", "-DSYZ_TEST_COMMON_EXT_EXAMPLE=1") - if err != nil { - t.Fatal(err) - } - defer os.Remove(bin) + bin := csource.BuildExecutor(t, target, "..", "-DSYZ_TEST_COMMON_EXT_EXAMPLE=1") out, err := osutil.RunCmd(time.Minute, "", bin, "setup") if err != nil { t.Fatal(err) |
