Comments (5)
Sorry, found a workaround for this...pwd -P
will properly capitalize the path. Not entirely sure how the shell gets into a state where it's seeing the wrong capitalization, but you can reproduce it like this:
> cd ~/documents
> pwd
/Users/me/documents
> cd ~/Documents
> pwd
/Users/me/Documents
Anyways, sorry for the non-issue. Thanks!
from xcresultparser.
Hi Grant,
I am not sure, whether I understand the problem or what your question exactly is. ;-)
Yes, it is indeed case sensitive. It uses components(separatedBy:) to split the path in base path and relative path.
Can you provide an example where it breaks? pwd should give you the path in the correct case, doesn't it?
Are the paths in the xcresult bundle in the "wrong case"?
Is the file system case sensitive?
I thought, that most of us MacOS users have use a case-insensitivity file format. So that might cause the problem?
It should not be a big deal to make the tool work case insensitive, but first I need to fully understand the problem, so I know, where to fix it.
Can you elaborate and maybe provide an example. Ideally you could provide me a xcresult bundle, so I can test and verify myself.
from xcresultparser.
That might really be a special case here with the "Documents" folder. There are some standard folders in every home directory. And "Documents" and "Desktop" are pretty special. I suppose they expect to be upper case, but if your disk is formatted case insensitive (standard on mac OS), then "documents" is the same as "Documents" and MacOS expects it to be upper case. Something along those lines...
from xcresultparser.
I was just using that as an example, it seems to work the same if you have a repo with capital letters (our repo is named iOS
).
from xcresultparser.
from xcresultparser.
Related Issues (12)
- Ignore directories/files? HOT 5
- Binaries attached to releases HOT 15
- Json format output HOT 4
- Skipped tests shows as failed in txt results HOT 5
- Wrong calculation of failed tests in txt results HOT 2
- Corrupted data in txt results if run UI tests simultaneously on two devices HOT 5
- fullpath is not shown in xml HOT 10
- Why need to get the dtd file by visiting http://cobertura.sourceforge.net ? HOT 2
- Any chance of getting xcresultparser on brew? HOT 2
- Markdown formatting on github will display `<span>` tags HOT 1
- `xcresultparser` errors out with code 133 when executed HOT 14
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from xcresultparser.