import os
+import sys
import re
import importlib.machinery
# boot_command
# Command executed for booting. Output of this command is saved to output folder.
boot_command = ['echo', 'bootit']
+# boot_timeout
+# Set timeout of boot process if no output is generated for selected seconds
+boot_timeout = 120
# parse_command
# Command to parse double value from boot output
dot_config = 'dot_config'
linux_sources = 'linux/'
-linux_kconfig_head = linux_sources + 'Kconfig'
-linux_dot_config = linux_sources + '.config'
-linux_image = linux_sources + 'arch/' + kernel_arch + '/boot/bzImage'
+linux_build_folder = 'linux/'
+linux_image = linux_build_folder + 'arch/' + kernel_arch + '/boot/bzImage'
build_folder = 'jobfiles/'
jobfolder_linux_image = build_folder + 'linuxImage'
dot_measure_file = build_folder + 'dot_measure'
dot_config_back_file = build_folder + 'dot_config_back'
single_generated_file = build_folder + 'single_generated'
+measurechecked_file = build_folder + 'measurechecked'
+
+buildroot_config_cyclictest = '/dev/null'
result_folder = 'result/'
log_folder = 'log/'
if not re.match('__*__', name):
vars()[name] = vars(ovconf)[name]
else:
- print("W: No target specifier. Write target to .target file.")
+ print("E: Invalid target specifier. Write valid target to .target file.")
+ sys.exit(-99)
else:
- print("W: No target specifier. Write target to .target file.")
+ print("E: No target specifier. Write target to .target file.")
+ sys.exit(-99)