Commit 263aaf0e66

Andrew Kelley <andrew@ziglang.org>
2023-03-07 07:00:32
re-enable asm-and-link tests
These already looked pretty good. I deleted two unnecessary calls to expectStdErrEqual.
1 parent 8b871ae
Changed files (2)
test/src/CompareOutput.zig
@@ -104,7 +104,6 @@ pub fn addCase(self: *CompareOutput, case: TestCase) void {
             const run = exe.run();
             run.setName(annotated_case_name);
             run.addArgs(case.cli_args);
-            run.expectStdErrEqual("");
             run.expectStdOutEqual(case.expected_output);
 
             self.step.dependOn(&run.step);
@@ -132,7 +131,6 @@ pub fn addCase(self: *CompareOutput, case: TestCase) void {
                 const run = exe.run();
                 run.setName(annotated_case_name);
                 run.addArgs(case.cli_args);
-                run.expectStdErrEqual("");
                 run.expectStdOutEqual(case.expected_output);
 
                 self.step.dependOn(&run.step);
build.zig
@@ -464,7 +464,7 @@ pub fn build(b: *std.Build) !void {
     //test_step.dependOn(tests.addLinkTests(b, test_filter, optimization_modes, enable_macos_sdk, skip_stage2_tests, enable_symlinks_windows));
     test_step.dependOn(tests.addStackTraceTests(b, test_filter, optimization_modes));
     test_step.dependOn(tests.addCliTests(b, test_filter, optimization_modes));
-    //test_step.dependOn(tests.addAssembleAndLinkTests(b, test_filter, optimization_modes));
+    test_step.dependOn(tests.addAssembleAndLinkTests(b, test_filter, optimization_modes));
     test_step.dependOn(tests.addTranslateCTests(b, test_filter));
     if (!skip_run_translated_c) {
         test_step.dependOn(tests.addRunTranslatedCTests(b, test_filter, target));