Commit 9fb2dd9
committed
init_env: robust root discovery & idempotent load
- Add __INIT_ENV_LOADED guard to prevent double sourcing.
- Detect ROOT_DIR (CWD or walk-up) and export TOOLS/paths.
- Quietly source utils; fail fast if utils/functestlib.sh missing.
- Fix empty so platform/network helpers are available.
Signed-off-by: Srikanth Muppandam <smuppand@qti.qualcomm.com>1 parent 609e0e0 commit 9fb2dd9
1 file changed
Lines changed: 15 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
32 | | - | |
33 | | - | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
34 | 35 | | |
35 | 36 | | |
36 | 37 | | |
37 | 38 | | |
38 | 39 | | |
39 | 40 | | |
40 | 41 | | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
0 commit comments