aboutsummaryrefslogtreecommitdiff
path: root/test/ufuzz
diff options
context:
space:
mode:
authorAlex Lam S.L <alexlamsl@gmail.com>2020-05-11 00:32:21 +0100
committerGitHub <noreply@github.com>2020-05-11 07:32:21 +0800
commit35cc5aa06fd05437b6fa538ca3f32a876156d4da (patch)
tree1769ed87143f2da098dacfa7c8f369fa390a6461 /test/ufuzz
parentc1dd49e07550c3c4599dab6570ff8291f5722b59 (diff)
downloadtracifyjs-35cc5aa06fd05437b6fa538ca3f32a876156d4da.tar.gz
tracifyjs-35cc5aa06fd05437b6fa538ca3f32a876156d4da.zip
extend `--reduce-test` to cover `minify()` bugs (#3876)
Diffstat (limited to 'test/ufuzz')
-rw-r--r--test/ufuzz/index.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/ufuzz/index.js b/test/ufuzz/index.js
index 616378cf..f8c6555c 100644
--- a/test/ufuzz/index.js
+++ b/test/ufuzz/index.js
@@ -1181,8 +1181,8 @@ for (var round = 1; round <= num_iterations; round++) {
}
}
} else {
- uglify_code = uglify_result = uglify_code.error;
- ok = sandbox.same_stdout(original_result, uglify_result);
+ uglify_code = uglify_code.error;
+ ok = errored && uglify_code.name == original_result.name;
}
if (verbose || (verbose_interval && !(round % INTERVAL_COUNT)) || !ok) log(options);
else if (errored) {
_ _) In guix/store.scm: 623:10 11 (call-with-store _) 1800:24 10 (run-with-store _ _ #:guile-for-build _ #:system _ #:target _) In guix/scripts/system.scm: 920:13 9 (_ _) 409:8 8 (_ _) In unknown file: 7 (primitive-load "/gnu/store/dha7j9gcz3vgb8cy7vfvvaswwsywrrzj-activate") In ice-9/boot-9.scm: 260:13 6 (for-each #<procedure primitive-load (_)> _) In unknown file: 5 (primitive-load "/gnu/store/ql1xjxrssxm51z2bn2v6l3mlrncij84h-activate-service") In ice-9/eval.scm: 619:8 4 (_ #f) 196:35 3 (_ #f) 196:27 2 (_ #f) 223:20 1 (proc #<directory (guile-user) 1fa4140>) In unknown file: 0 (%resolve-variable (7 . cut) #<directory (guile-user) 1fa4140>) ERROR: In procedure %resolve-variable: error: cut: unbound variable Reported-by: Alex McGrath on #guix. * gnu/services/nix.scm (nix-activation): Import and use (srfi srfi-26). 2019-06-10services: Add 'nix-service-type'.Oleg Pykhalov * gnu/services/nix.scm: New file. * gnu/local.mk: Add this. * doc/guix.texi (Miscellaneous Services): Document this.