testing/quick: Revert Alpha specific change.
authorIan Lance Taylor <ian@gcc.gnu.org>
Fri, 16 Jan 2015 23:19:20 +0000 (23:19 +0000)
committerIan Lance Taylor <ian@gcc.gnu.org>
Fri, 16 Jan 2015 23:19:20 +0000 (23:19 +0000)
No longer needed now that libffi supports complex types.

From-SVN: r219777

libgo/go/testing/quick/quick_test.go

index 36745ae2aba877cbd59b4c1016d06cd3ca9ffee8..e925ba67507120d50301067b330fdc4c5fb4016b 100644 (file)
@@ -7,7 +7,6 @@ package quick
 import (
        "math/rand"
        "reflect"
-       "runtime"
        "testing"
 )
 
@@ -158,12 +157,10 @@ func TestCheckEqual(t *testing.T) {
        reportError("fFloat32Alias", CheckEqual(fFloat32Alias, fFloat32Alias, nil), t)
        reportError("fFloat64", CheckEqual(fFloat64, fFloat64, nil), t)
        reportError("fFloat64Alias", CheckEqual(fFloat64Alias, fFloat64Alias, nil), t)
-       if runtime.GOARCH != "alpha" {
-               reportError("fComplex64", CheckEqual(fComplex64, fComplex64, nil), t)
-               reportError("fComplex64Alias", CheckEqual(fComplex64Alias, fComplex64Alias, nil), t)
-               reportError("fComplex128", CheckEqual(fComplex128, fComplex128, nil), t)
-               reportError("fComplex128Alias", CheckEqual(fComplex128Alias, fComplex128Alias, nil), t)
-       }
+       reportError("fComplex64", CheckEqual(fComplex64, fComplex64, nil), t)
+       reportError("fComplex64Alias", CheckEqual(fComplex64Alias, fComplex64Alias, nil), t)
+       reportError("fComplex128", CheckEqual(fComplex128, fComplex128, nil), t)
+       reportError("fComplex128Alias", CheckEqual(fComplex128Alias, fComplex128Alias, nil), t)
        reportError("fInt16", CheckEqual(fInt16, fInt16, nil), t)
        reportError("fInt16Alias", CheckEqual(fInt16Alias, fInt16Alias, nil), t)
        reportError("fInt32", CheckEqual(fInt32, fInt32, nil), t)