Skip to content

Commit

Permalink
contest: vmtest: make a copy of the config in results
Browse files Browse the repository at this point in the history
Save the kernel config used for the build.

Signed-off-by: Jakub Kicinski <[email protected]>
  • Loading branch information
kuba-moo committed Jan 14, 2024
1 parent a9a5531 commit b5a4e04
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions contest/remote/vmtest.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
import configparser
import datetime
import unicodedata
import shutil
import subprocess
from time import sleep
import fcntl
Expand Down Expand Up @@ -277,6 +278,8 @@ def test(binfo, rinfo, config):

vm = VM(config)
vm.build()
shutil.copy(os.path.join(config.get('local', 'tree_path'), '.config'),
results_path + '/config')
vm.dump_log(results_path + '/build')

vm_id = 0
Expand Down

0 comments on commit b5a4e04

Please sign in to comment.