5509
This commit is contained in:
parent
5914ea1270
commit
794ceae0af
|
@ -16,7 +16,7 @@ else
|
|||
fi
|
||||
|
||||
set -e
|
||||
# turn newlines into spaces
|
||||
# turn newlines into spaces
|
||||
CFLAGS=$CFLAGS ./subx --debug translate $(echo $FILES) /tmp/run_one_test.subx -o /tmp/a.elf
|
||||
|
||||
./subx --debug --trace run /tmp/a.elf
|
|
@ -86,11 +86,11 @@ command! -nargs=0 L exec "%!grep -a label |grep -v clear-stream:loop"
|
|||
" cursor on '#' causes error
|
||||
noremap <Leader>t {j0:call RunTestMoveCursor("<C-r><C-w>")<CR>
|
||||
function RunTestMoveCursor(arg)
|
||||
exec "!run_one_test.sh ".expand("%")." ".a:arg
|
||||
exec "!./run_one_test ".expand("%")." ".a:arg
|
||||
exec "normal \<C-o>"
|
||||
endfunction
|
||||
function RunTestMoveCursorAndMaybeOpenTrace(arg)
|
||||
exec "!run_one_test.sh ".expand("%")." ".a:arg
|
||||
exec "!./run_one_test ".expand("%")." ".a:arg
|
||||
exec "normal \<C-o>"
|
||||
if v:shell_error
|
||||
noautocmd vertical split last_run
|
||||
|
|
Loading…
Reference in New Issue