File tree Expand file tree Collapse file tree 2 files changed +10
-12
lines changed
Filter options
Expand file tree Collapse file tree 2 files changed +10
-12
lines changed
Original file line number Diff line number Diff line change @@ -49,6 +49,13 @@ Describe "Tests" {
49
49
" python ./sources/simple-test.py" | Should - ReturnZeroExitCode
50
50
}
51
51
52
+ # linux has no display name and no $DISPLAY environment variable - skip tk test
53
+ if (-not (($Platform -match " ubuntu" ) -or ($Platform -match " linux" ))) {
54
+ It " Check if tcl/tk has the same headed and library versions" {
55
+ " python ./sources/tcltk.py" | Should - ReturnZeroExitCode
56
+ }
57
+ }
58
+
52
59
if (($Version -ge " 3.2.0" ) -and -not ([semver ]" $ ( $Version.Major ) .$ ( $Version.Minor ) " -eq [semver ]" 3.11" -and $Version.PreReleaseLabel )) {
53
60
It " Check if sqlite3 module is installed" {
54
61
" python ./sources/python-sqlite3.py" | Should - ReturnZeroExitCode
@@ -89,12 +96,4 @@ Describe "Tests" {
89
96
" ./dist/simple-test" | Should - ReturnZeroExitCode
90
97
}
91
98
}
92
-
93
- if (($Platform -match " macos" ) -or ($Platform -match " darwin" )) {
94
- if ($Version -gt " 3.7.12" ) {
95
- It " Check if python above 3.7.12 use tcl/tk v8.6" {
96
- " python ./sources/tcltk-86.py" | Should - ReturnZeroExitCode
97
- }
98
- }
99
- }
100
99
}
Original file line number Diff line number Diff line change 4
4
header = _tkinter .TK_VERSION
5
5
lib = tkinter .Tk ().getvar ('tk_version' )
6
6
7
- print ('header version=' + header )
8
- print ('lib version=' + lib )
9
-
10
- if lib != '8.6' or header != '8.6' :
7
+ if lib != header :
8
+ print ('header version=' + header )
9
+ print ('lib version=' + lib )
11
10
exit (1 )
You can’t perform that action at this time.
0 commit comments