ports/devel/ice/files/patch-cpp-test-Ice-properties-run.py
Ruslan Makhmatkhanov 58e60f6909 - update to 3.5.0
- add license (GPLv2)
- switch to bdb 5
- mark broken on 10.x for the time being (as it was discussed on ports@ ML)
- remove patches, applied upstream

This version of Ice brings many new features, e.g.
- New encoding version
- Metrics facility
- Optional data members and parameters
- Compact encoding for classes and exceptions
- Compact type IDs
- Preserved slices
- Custom enumerator values
- C++11 lambda functions
- Remote Update of Server Properties
- IPv6 now enabled by default
- Python 3 support
- Use Berkley DB 5

See http://doc.zeroc.com/display/Ice/Release+Notes for details.

PR:		179233
Submitted by:	Michael Gmelin <freebsd@grem.de> (maintainer)
Tested by:  Jaret Bartsch <jaretbartsch@yahoo.ca>
2013-06-17 11:42:41 +00:00

29 lines
1.3 KiB
Python

--- cpp.orig/test/Ice/properties/run.py 2013-03-11 15:19:47.000000000 +0000
+++ cpp/test/Ice/properties/run.py 2013-05-21 03:48:13.020195761 +0000
@@ -28,15 +28,15 @@
#
if sys.version_info[0] == 2:
configPath = "./config/\xe4\xb8\xad\xe5\x9b\xbd_client.config".decode("utf-8")
- TestUtil.createConfig(configPath,
+ TestUtil.createConfig(configPath.encode("utf-8"),
["# Automatically generated by Ice test driver.",
"Ice.Trace.Protocol=1",
"Ice.Trace.Network=1",
"Ice.ProgramName=PropertiesClient",
- "Config.Path=./config/中国_client.config"])
+ "Config.Path=" + configPath.encode("utf-8")])
else:
configPath = "./config/\u4e2d\u56fd_client.config"
- TestUtil.createConfig(configPath,
+ TestUtil.createConfig(configPath.encode("utf-8"),
["# Automatically generated by Ice test driver.",
"Ice.Trace.Protocol=1",
"Ice.Trace.Network=1",
@@ -46,5 +46,5 @@
TestUtil.simpleTest(client)
-if os.path.exists(configPath):
- os.remove(configPath)
+if os.path.exists(configPath.encode("utf-8")):
+ os.remove(configPath.encode("utf-8"))