Skip to content

fix bug with module detection when running buildtest config validate#1328

Merged
shahzebsiddiqui merged 1 commit intodevelfrom
fix_module_detection_bug
Jan 4, 2023
Merged

fix bug with module detection when running buildtest config validate#1328
shahzebsiddiqui merged 1 commit intodevelfrom
fix_module_detection_bug

Conversation

@shahzebsiddiqui
Copy link
Member

@shahzebsiddiqui shahzebsiddiqui commented Jan 4, 2023

@wyphan i tested this now in the container its working

(buildtest)  ~/Documents/github/buildtest/ [fix_module_detection_bug] docker run -it -v  $BUILDTEST_ROOT:/home/spack/buildtest ghcr.io/buildtesters/buildtest_spack:latest
==> Regenerating tcl module files
spack@89d9d1804325:~/buildtest$ source scripts/spack_container/setup.sh 
(buildtest) spack@89d9d1804325:~/buildtest$ buildtest cg validate
/home/spack/buildtest/buildtest/settings/spack_container.yml is valid

I can see the executors

(buildtest) spack@89d9d1804325:~/buildtest$ buildtest cg executors
generic.local.bash
generic.local.sh

…his is now fixed

by passing BuildTestSystem class
@shahzebsiddiqui shahzebsiddiqui merged commit 5aa3681 into devel Jan 4, 2023
@shahzebsiddiqui shahzebsiddiqui deleted the fix_module_detection_bug branch January 4, 2023 19:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant