summaryrefslogtreecommitdiff
path: root/rust/rust_test.go
diff options
context:
space:
mode:
authorColin Cross <ccross@android.com>2020-10-10 01:30:30 +0000
committerColin Cross <ccross@android.com>2020-10-09 18:34:24 -0700
commit405af0785923a6e5042f9f69f41ebc46c713537a (patch)
tree712819e0893abab5f99dde3e910f65fe7ce0ccc6 /rust/rust_test.go
parent6682ef42a497e5fdf48d0ade03efd23dbf8379dd (diff)
Revert "Make lots of tests run in parallel"
This reverts commit 323dc60712491c71ccdc5363c42df61f0a192487. Reason for revert: Possible cause of test instability Bug: 170513220 Test: soong tests Change-Id: Iee168e9fbb4210569e6cffcc23e60d111403abb8
Diffstat (limited to 'rust/rust_test.go')
-rw-r--r--rust/rust_test.go7
1 files changed, 0 insertions, 7 deletions
diff --git a/rust/rust_test.go b/rust/rust_test.go
index ec78860b7..9b2f023b7 100644
--- a/rust/rust_test.go
+++ b/rust/rust_test.go
@@ -177,7 +177,6 @@ func (tctx testRustCtx) parseError(t *testing.T, pattern string) {
// Test that we can extract the link path from a lib path.
func TestLinkPathFromFilePath(t *testing.T) {
- t.Parallel()
barPath := android.PathForTesting("out/soong/.intermediates/external/libbar/libbar/linux_glibc_x86_64_shared/libbar.so")
libName := linkPathFromFilePath(barPath)
expectedResult := "out/soong/.intermediates/external/libbar/libbar/linux_glibc_x86_64_shared/"
@@ -189,7 +188,6 @@ func TestLinkPathFromFilePath(t *testing.T) {
// Test to make sure dependencies are being picked up correctly.
func TestDepsTracking(t *testing.T) {
- t.Parallel()
ctx := testRust(t, `
rust_ffi_host_static {
name: "libstatic",
@@ -251,7 +249,6 @@ func TestDepsTracking(t *testing.T) {
}
func TestSourceProviderDeps(t *testing.T) {
- t.Parallel()
ctx := testRust(t, `
rust_binary {
name: "fizz-buzz-dep",
@@ -339,7 +336,6 @@ func TestSourceProviderDeps(t *testing.T) {
}
func TestSourceProviderTargetMismatch(t *testing.T) {
- t.Parallel()
// This might error while building the dependency tree or when calling depsToPaths() depending on the lunched
// target, which results in two different errors. So don't check the error, just confirm there is one.
testRustError(t, ".*", `
@@ -362,7 +358,6 @@ func TestSourceProviderTargetMismatch(t *testing.T) {
// Test to make sure proc_macros use host variants when building device modules.
func TestProcMacroDeviceDeps(t *testing.T) {
- t.Parallel()
ctx := testRust(t, `
rust_library_host_rlib {
name: "libbar",
@@ -390,7 +385,6 @@ func TestProcMacroDeviceDeps(t *testing.T) {
// Test that no_stdlibs suppresses dependencies on rust standard libraries
func TestNoStdlibs(t *testing.T) {
- t.Parallel()
ctx := testRust(t, `
rust_binary {
name: "fizz-buzz",
@@ -406,7 +400,6 @@ func TestNoStdlibs(t *testing.T) {
// Test that libraries provide both 32-bit and 64-bit variants.
func TestMultilib(t *testing.T) {
- t.Parallel()
ctx := testRust(t, `
rust_library_rlib {
name: "libfoo",