binhonglee / coco

Code coverage for Nim lang (CLI + library)
MIT License
46 stars 3 forks source link

[minor] Permission denied when source files under tmp #12

Closed timotheecour closed 5 years ago

timotheecour commented 5 years ago
git clone https://github.com/timotheecour/vitanim # probably any repo will be same
cd vitanim/drange

coco --report_path=/tmp/d28
/Users/timothee/.config/nim/config.nims [config.nims used]
[OK] test1
[OK] test1
Permission denied
Permission denied
Permission denied
Permission denied
Permission denied
Permission denied
Permission denied
Permission denied
Permission denied
Permission denied
Permission denied
geninfo: WARNING: gcov did not create any files for /tmp/d20/vitanim/drange/nimcache/test1.nim_0_cov/stdlib_unittest.c.gcda!

Note: this Permission denied doesn't happen when source files aren't under tmp

samuelroy commented 5 years ago

image

It's working on my side. How did you create your tmp folder?

timotheecour commented 5 years ago

are you also on osx?

samuelroy commented 5 years ago

yes also

timotheecour commented 5 years ago

can't reproduce as of today, closing