Skip to content

Instantly share code, notes, and snippets.

@iains
Created January 31, 2023 11:24
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save iains/dc28eb2aab6b540872f491adb3cb01fd to your computer and use it in GitHub Desktop.
Save iains/dc28eb2aab6b540872f491adb3cb01fd to your computer and use it in GitHub Desktop.
dummy target for dejagnu
these two files are in my dejagnu-boards/
I then use --target_board=dummy in my RUNTESTFLAGS
no-exe.exp:
proc no_exe_load { dest prog args } {
verbose -log "no_exe_load $prog $args "
return [list "xfail" $prog $args]
}
proc no_exe_open { board } {
return 0
}
set_board_info protocol "no_exe"
dummy.exp:
# The canonical unix board description.
load_generic_config "no-exe"
process_multilib_options ""
set_board_info compiler "[find_gcc]"
set_board_info bmk,use_alarm 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment