commit cf4cc9b148e069b46a197d0423e4d25654aea26c (tree)
parent 786052c7d33973bf0bb34483301142b07bd48880
Author: Andrew Kelley <andrew@ziglang.org>
Date: Sun, 22 Sep 2019 14:41:47 -0400
do the release tests last because they take longer
Diffstat:
| M | test/tests.zig | | | 73 | +++++++++++++++++++++++++++++++++++++------------------------------------ |
1 file changed, 37 insertions(+), 36 deletions(-)
diff --git a/test/tests.zig b/test/tests.zig
@@ -41,42 +41,6 @@ const test_targets = [_]TestTarget{
},
TestTarget{
- .mode = .ReleaseFast,
- },
- TestTarget{
- .link_libc = true,
- .mode = .ReleaseFast,
- },
- TestTarget{
- .mode = .ReleaseFast,
- .single_threaded = true,
- },
-
- TestTarget{
- .mode = .ReleaseSafe,
- },
- TestTarget{
- .link_libc = true,
- .mode = .ReleaseSafe,
- },
- TestTarget{
- .mode = .ReleaseSafe,
- .single_threaded = true,
- },
-
- TestTarget{
- .mode = .ReleaseSmall,
- },
- TestTarget{
- .link_libc = true,
- .mode = .ReleaseSmall,
- },
- TestTarget{
- .mode = .ReleaseSmall,
- .single_threaded = true,
- },
-
- TestTarget{
.target = Target{
.Cross = CrossTarget{
.os = .linux,
@@ -201,6 +165,43 @@ const test_targets = [_]TestTarget{
// },
// .link_libc = true,
//},
+
+ // Do the release tests last because they take a long time
+ TestTarget{
+ .mode = .ReleaseFast,
+ },
+ TestTarget{
+ .link_libc = true,
+ .mode = .ReleaseFast,
+ },
+ TestTarget{
+ .mode = .ReleaseFast,
+ .single_threaded = true,
+ },
+
+ TestTarget{
+ .mode = .ReleaseSafe,
+ },
+ TestTarget{
+ .link_libc = true,
+ .mode = .ReleaseSafe,
+ },
+ TestTarget{
+ .mode = .ReleaseSafe,
+ .single_threaded = true,
+ },
+
+ TestTarget{
+ .mode = .ReleaseSmall,
+ },
+ TestTarget{
+ .link_libc = true,
+ .mode = .ReleaseSmall,
+ },
+ TestTarget{
+ .mode = .ReleaseSmall,
+ .single_threaded = true,
+ },
};
const max_stdout_size = 1 * 1024 * 1024; // 1 MB