mason.release.tidy: one last fix for tests

db4
Slava Pestov 2011-09-14 20:00:15 -07:00
parent c14f087196
commit 7507196a98
1 changed files with 19 additions and 13 deletions

View File

@ -1,15 +1,21 @@
USING: io.directories mason.config mason.release.tidy namespaces
sequences system tools.test ;
IN: mason.release.tidy.tests
USING: mason.config mason.release.tidy namespaces sequences
system tools.test ;
[ f ] [
macosx target-os [
"Factor.app" useless-files member?
] with-variable
] unit-test
[ t ] [
linux target-os [
"Factor.app" useless-files member?
] with-variable
] unit-test
! Normally, these words are run in the factor subdirectory
! of the build directory, and they look for a file named
! build-support/cleanup there. Use with-directory here to
! ensure we use the file from the current source tree instead.
"resource:" [
[ f ] [
macosx target-os [
"Factor.app" useless-files member?
] with-variable
] unit-test
[ t ] [
linux target-os [
"Factor.app" useless-files member?
] with-variable
] unit-test
] with-directory