-
Notifications
You must be signed in to change notification settings - Fork 1.5k
cmake -Droottest=On tests wrong ROOT build! #7081
Copy link
Copy link
Closed
Description
Describe the bug
Configuring a build with a different ROOT build already in the environment causes CTest to test the wrong build. I wonder how many devs are not testing their changes but that of some completely unrelated build :-(
Expected behavior
cmake -Droottest=On should have ctest test that build.
To Reproduce
$ which root
$ mkdir ../1
$ cd ../1
$ . /home/axel/build/root/master/deb/bin/thisroot.sh
$ cmake -Droottest=On ../src
$ grep ROOTSYS CMakeCache.txt
ROOTSYS:INTERNAL=/home/axel/build/root/master/deb
Setup
- ROOT version: master
- Operating system: Ubuntu 20.04
- How you obtained ROOT: I built it myself.
Reactions are currently unavailable