Skip to content

Commit 775edd6

Browse files
committed
Refine test checks, clean up the output directory
1 parent 494a76a commit 775edd6

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

test/Documentation/docc.swift

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// REQUIRES: OS=macosx
22

3-
// RUN: mkdir $(dirname %t)/out
4-
// RUN: xcrun docc convert --output-path $(dirname %t)/out --ide-console-output --allow-arbitrary-catalog-directories $(dirname %utils)/docs
5-
// RUN: test $(du -c $(dirname %t)/out | tail -1 | awk '{ print $1 }') -gt 18000 && echo success
3+
// RUN: %empty-directory(%t)
4+
// RUN: xcrun docc convert --output-path %t --ide-console-output --allow-arbitrary-catalog-directories $(dirname %utils)/docs
5+
// RUN: test $(du -c %t | tail -1 | awk '{ print $1 }') -gt 1000 && echo success
66
// CHECK: success

0 commit comments

Comments
 (0)