Closed
Bug 521019
Opened 16 years ago
Closed 16 years ago
Windows CE test-agent needs better path and file handling
Categories
(Testing :: General, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: cmtalbert, Assigned: blassey)
Details
Attachments
(1 file)
3.14 KB,
patch
|
Details | Diff | Splinter Review |
When working on the windows CE port of the test-agent code, I ran into an issue where ceGetCanonicalPathName would simply not build. Commenting that out and returning a very dumb version of absPath from the wfullpath function helped me to find an error in cat -- we crash the agent if we do an fread with a null file handle, pretty expected.
So I wrote a bit of code to get around the ceGetCanonicalPathName issue as well as a simple error handler for the cat command.
Also in this patch is one extra #ifdef that I had to make to get wince to build for the tegra. It seems INVALID_FILE_ATTRIBUTES is not defined, that's probably something that is easily fixed though.
Assignee | ||
Comment 1•16 years ago
|
||
CeGetCanonicalPathName is in my standard sdk 5.0. It sounds like this is a build environment problem for Clint, will work with him to sort that out.
We should check the return values of _wfopen, pushed that change:
http://hg.mozilla.org/users/blassey_mozilla.com/test-agent/rev/b46a6cc13414
I also commented out the #error in this changeset:
http://hg.mozilla.org/users/blassey_mozilla.com/test-agent/rev/245853218bb9
I think with those two patches and fixing Clint's build this is resolved, if not reopen.
Status: NEW → RESOLVED
Closed: 16 years ago
Resolution: --- → FIXED
Updated•7 years ago
|
Component: New Frameworks → General
You need to log in
before you can comment on or make changes to this bug.
Description
•