Fossil SCM

Better clean-up after win32-longpath test. Revert accidental change in Makefile.mingw.

jan.nijtmans 2013-12-16 14:25 win32-longpath
Commit 698a2d5968a9c6fa20fe44ba46519384164f533d
--- test/win32-longpath.test
+++ test/win32-longpath.test
@@ -24,10 +24,11 @@
2424
![catch {
2525
fossil new $longpath/$x.fossil
2626
}]
2727
}
2828
29
-catch {
30
- # If file deletion fails because your shell cannot
31
- # handle that, you need to clean it up manually
32
- exec "rm -rf [pwd]/$x"
33
-}
29
+# Try to remove the file/dir various ways, different
30
+# Shells/Tcl versions expect it differently.
31
+catch {file delete \\\\?\\$longpath\\$x.fossil}
32
+catch {file delete $longpath/$x.fossil}
33
+catch {file delete [pwd]/$x/$x.fossil}
34
+catch {file delete [pwd]/$x}
3435
--- test/win32-longpath.test
+++ test/win32-longpath.test
@@ -24,10 +24,11 @@
24 ![catch {
25 fossil new $longpath/$x.fossil
26 }]
27 }
28
29 catch {
30 # If file deletion fails because your shell cannot
31 # handle that, you need to clean it up manually
32 exec "rm -rf [pwd]/$x"
33 }
 
34
--- test/win32-longpath.test
+++ test/win32-longpath.test
@@ -24,10 +24,11 @@
24 ![catch {
25 fossil new $longpath/$x.fossil
26 }]
27 }
28
29 # Try to remove the file/dir various ways, different
30 # Shells/Tcl versions expect it differently.
31 catch {file delete \\\\?\\$longpath\\$x.fossil}
32 catch {file delete $longpath/$x.fossil}
33 catch {file delete [pwd]/$x/$x.fossil}
34 catch {file delete [pwd]/$x}
35
--- win/Makefile.mingw
+++ win/Makefile.mingw
@@ -13,15 +13,15 @@
1313
#
1414
1515
#### Select one of MinGW, MinGW-w64 (32-bit) or MinGW-w64 (64-bit) compilers.
1616
# By default, this is an empty string (i.e. use the native compiler).
1717
#
18
-# PREFIX =
18
+PREFIX =
1919
# PREFIX = mingw32-
2020
# PREFIX = i686-pc-mingw32-
2121
# PREFIX = i686-w64-mingw32-
22
-PREFIX = x86_64-w64-mingw32-
22
+# PREFIX = x86_64-w64-mingw32-
2323
2424
#### The toplevel directory of the source tree. Fossil can be built
2525
# in a directory that is separate from the source tree. Just change
2626
# the following to point from the build directory to the src/ folder.
2727
#
2828
--- win/Makefile.mingw
+++ win/Makefile.mingw
@@ -13,15 +13,15 @@
13 #
14
15 #### Select one of MinGW, MinGW-w64 (32-bit) or MinGW-w64 (64-bit) compilers.
16 # By default, this is an empty string (i.e. use the native compiler).
17 #
18 # PREFIX =
19 # PREFIX = mingw32-
20 # PREFIX = i686-pc-mingw32-
21 # PREFIX = i686-w64-mingw32-
22 PREFIX = x86_64-w64-mingw32-
23
24 #### The toplevel directory of the source tree. Fossil can be built
25 # in a directory that is separate from the source tree. Just change
26 # the following to point from the build directory to the src/ folder.
27 #
28
--- win/Makefile.mingw
+++ win/Makefile.mingw
@@ -13,15 +13,15 @@
13 #
14
15 #### Select one of MinGW, MinGW-w64 (32-bit) or MinGW-w64 (64-bit) compilers.
16 # By default, this is an empty string (i.e. use the native compiler).
17 #
18 PREFIX =
19 # PREFIX = mingw32-
20 # PREFIX = i686-pc-mingw32-
21 # PREFIX = i686-w64-mingw32-
22 # PREFIX = x86_64-w64-mingw32-
23
24 #### The toplevel directory of the source tree. Fossil can be built
25 # in a directory that is separate from the source tree. Just change
26 # the following to point from the build directory to the src/ folder.
27 #
28

Keyboard Shortcuts

Open search /
Next entry (timeline) j
Previous entry (timeline) k
Open focused entry Enter
Show this help ?
Toggle theme Top nav button