Skip to content
This repository was archived by the owner on Aug 31, 2021. It is now read-only.

Commit a395a31

Browse files
committed
[[ Tests ]] Skip docs tests in standalone runner
1 parent 8de9e1b commit a395a31

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

tests/lcs/docs/docsparser.livecodescript

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,10 @@ You should have received a copy of the GNU General Public License
1717
along with LiveCode. If not see <http://www.gnu.org/licenses/>. */
1818

1919
on TestSetup
20+
if "StandaloneTestRunnerMainstack" is among the lines of the mainstacks then
21+
return "SKIP No docs in standalone test runner"
22+
end if
23+
2024
-- Only run these tests on desktop platforms
2125
if the platform is not among the items of "MacOS,Windows,Linux" then
2226
return "SKIP Tests are not runnable on" && the platform

tests/lcs/docs/validate-dictionary.livecodescript

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,10 @@ constant kOS = "iOS,Android,Mac,Windows,Linux,RPi,html5"
2222
constant kPlatform = "desktop,mobile,server,filemaker"
2323

2424
on TestSetup
25+
if "StandaloneTestRunnerMainstack" is among the lines of the mainstacks then
26+
return "SKIP No docs in standalone test runner"
27+
end if
28+
2529
-- Only run these tests on desktop platforms
2630
if the platform is not among the items of "MacOS,Windows,Linux" then
2731
return "SKIP Tests are not runnable on" && the platform

0 commit comments

Comments
 (0)