summaryrefslogtreecommitdiffstats
path: root/tests/font.test
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2020-10-01 08:55:52 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2020-10-01 08:55:52 (GMT)
commit279143927533f7cdd980e4d1d239303cbc9e8a5a (patch)
treeb24fd9a432c7b045ea14b606c24808cf6238b515 /tests/font.test
parentaf62bb859761fb78877f2b623732d200a2c07c5f (diff)
downloadtk-279143927533f7cdd980e4d1d239303cbc9e8a5a.zip
tk-279143927533f7cdd980e4d1d239303cbc9e8a5a.tar.gz
tk-279143927533f7cdd980e4d1d239303cbc9e8a5a.tar.bz2
Expression for contraint failsOnUbuntuNoXft was reverse ....
Diffstat (limited to 'tests/font.test')
-rw-r--r--tests/font.test2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/font.test b/tests/font.test
index 0f4c8de..89780ba 100644
--- a/tests/font.test
+++ b/tests/font.test
@@ -15,7 +15,7 @@ tcltest::loadTestedCommands
testConstraint fullutf [expr {[format %c 0x010000] != "\uFFFD"}]
testConstraint failsOnUbuntu [expr {![info exists ::env(TRAVIS_OS_NAME)] || ![string match linux $::env(TRAVIS_OS_NAME)]}]
-testConstraint failsOnUbuntuNoXft [expr {[testConstraint failsOnUbuntu] || ([catch {tk::pkgconfig get fontsystem} fs] || ($fs ne "xft"))}]
+testConstraint failsOnUbuntuNoXft [expr {[testConstraint failsOnUbuntu] || (![catch {tk::pkgconfig get fontsystem} fs] && ($fs eq "xft"))}]
set defaultfontlist [font names]