Skip to content

Commit 69b0529

Browse files
committed
Add documentation generation test
1 parent 187629b commit 69b0529

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

test/Documentation/docc.swift

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
// REQUIRES: OS=macosx
2+
3+
// RUN: %empty-directory(%t)
4+
// RUN: xcrun docc convert --output-path %t --ide-console-output --allow-arbitrary-catalog-directories $(dirname %utils)/docs
5+
6+
// the generated bundle should be at least as big as the source directory
7+
// RUN: test $(du -c %t | tail -1 | awk '{ print $1 }') -gt $(du -c $(dirname %utils)/docs | tail -1 | awk '{ print $1 }') && echo success
8+
// CHECK: success

0 commit comments

Comments
 (0)