Page MenuHomePhabricator

Add src/test/buildenv.py to .gitignore
AbandonedPublic

Authored by sickpig on May 24 2018, 12:05.

Details

Reviewers
deadalnix
schancel
Group Reviewers
Restricted Project
Summary

see title

Test Plan

try to git-add src/test/buildenv.py . the command should add rise an error along with a message similar to this one:
The following paths are ignored by one of your .gitignore files:
src/test/buildenv.py
Use -f if you really want to add them.

Diff Detail

Repository
rABC Bitcoin ABC
Branch
master
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 2633
Build 3380: Bitcoin ABC Buildbot (legacy)
Build 3379: arc lint + arc unit

Event Timeline

What is this file, why do we want to ignore it ?

last change wasn't supposed to update this diff.. fixing

What is this file, why do we want to ignore it ?

It is generated by make check and it's an helper file that contains the extension to be used for binaries aiding the execution of the unit tests. When you run on Linux it's content is something like:

 #!/usr/bin/python
exeext=""

whereas when you're cross compiling for win32/64:

#!/usr/bin/python
exeext="exe"

I've never seen this file. My build generates test/config.ini which is read by the test harness. I'm fairly sure this is legacy -- we backported a commit a long time ago related to this.

​src/test/buildenv.py has been generated by an old in-tree build from late 2017, it is not used anymore. sorry for the noise.