Skip to content

Commit

Permalink
ref: Use platform and recipe variables from the command line
Browse files Browse the repository at this point in the history
Signed-off-by: Miguel Silva <[email protected]>
  • Loading branch information
miguelafsilva5 committed Mar 8, 2024
1 parent 255feeb commit 826fa21
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions framework/test_framework.py
Original file line number Diff line number Diff line change
Expand Up @@ -242,8 +242,8 @@ def move_results_to_output():
recipe = args.recipe
print("Recipe .nix file: " + recipe)

BUILD_CMD = 'nix-build ../../' + test_config['nix_file']
BUILD_CMD += " --argstr platform " + test_config['platform']
BUILD_CMD = 'nix-build ' + recipe
BUILD_CMD += " --argstr platform " + platfrm
BUILD_CMD += " --argstr log_level " + str(args.log_level)

print(BUILD_CMD)
Expand All @@ -262,4 +262,4 @@ def move_results_to_output():
move_results_to_output()

print(cons.BLUE_TEXT + "Launching QEMU..." + cons.RESET_COLOR)
deploy_test(test_config['platform'])
deploy_test(platfrm)

0 comments on commit 826fa21

Please sign in to comment.