Commit 7ccf1e0
committed
[roottest] Fix roottest trying to invoke /usr/bin/root.exe in tests.
When ROOT is installed in the system, roottest would try invoking
/usr/bin/root.exe, leading to failures when trying to combine .pcms from
two different ROOT builds.
This was caused by a find_package(ROOT) and find_program(root-config),
which find the system ROOT before the ROOT being configured.
With roottest being part of the ROOT build, any find_package(ROOT) and
discovery of root-config and ROOTSYS could be removed, since these
variables are anyway known already in the running CMake configuration.1 parent 2b9981a commit 7ccf1e0
1 file changed
+7
-8
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
2 | | - | |
3 | 1 | | |
4 | 2 | | |
5 | 3 | | |
| |||
53 | 51 | | |
54 | 52 | | |
55 | 53 | | |
56 | | - | |
57 | | - | |
58 | | - | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
59 | 60 | | |
60 | | - | |
61 | | - | |
62 | 61 | | |
63 | 62 | | |
64 | 63 | | |
| |||
116 | 115 | | |
117 | 116 | | |
118 | 117 | | |
119 | | - | |
| 118 | + | |
120 | 119 | | |
121 | 120 | | |
122 | 121 | | |
| |||
0 commit comments