diff options
author | Daniel Friesel <daniel.friesel@uos.de> | 2021-10-11 10:01:18 +0200 |
---|---|---|
committer | Daniel Friesel <daniel.friesel@uos.de> | 2021-10-11 10:01:18 +0200 |
commit | cb4b7204f88fbc914c47ed6fccda18db73ade2df (patch) | |
tree | 64eaff319bd2483cd95e4da6d85d48f9b6c70435 /lib | |
parent | 3814799ba6321d38057221d7d032461545ce24e5 (diff) |
explore-kconfig: store "make nfpkeys" output in data directory
Diffstat (limited to 'lib')
-rw-r--r-- | lib/kconfig.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/kconfig.py b/lib/kconfig.py index a85586f..494c25b 100644 --- a/lib/kconfig.py +++ b/lib/kconfig.py @@ -126,6 +126,11 @@ class KConfig: sha256sum = status.stdout.split()[0] return sha256sum + def run_nfpkeys(self): + nfpkeys = File("nfpkeys.json") + with open(nfpkeys.path, "w") as out_fd: + subprocess.check_call(["make", "nfpkeys"], cwd=self.cwd, stdout=out_fd) + def run_randconfig(self): """Run a randomconfig experiment in the selected project. Results are written to the current working directory.""" experiment = RandomConfig() |