about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorKartik Agaram <vc@akkartik.com>2019-08-11 23:04:52 -0700
committerKartik Agaram <vc@akkartik.com>2019-08-11 23:04:52 -0700
commit794ceae0af3e9ff613b6a8176ba8851e23f9f6c8 (patch)
treec38ecb6060c91a4b3b6339d7633f506404f69ab0
parent5914ea1270a8bb4c1d2cb718324115c9a43f5313 (diff)
downloadmu-794ceae0af3e9ff613b6a8176ba8851e23f9f6c8.tar.gz
5509
-rwxr-xr-xrun_one_test (renamed from run_one_test.sh)2
-rw-r--r--vimrc.vim4
2 files changed, 3 insertions, 3 deletions
diff --git a/run_one_test.sh b/run_one_test
index caecd63c..41844d82 100755
--- a/run_one_test.sh
+++ b/run_one_test
@@ -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
diff --git a/vimrc.vim b/vimrc.vim
index bf81ebd2..2f39ad8d 100644
--- a/vimrc.vim
+++ b/vimrc.vim
@@ -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