For each test, add a build rule like:
build test1.stamp: test1.exe
cmd = $in && touch $out
And then one to gather them:
| function! OnTabEnter(path) | |
| if isdirectory(a:path) | |
| let dirname = a:path | |
| else | |
| let dirname = fnamemodify(a:path, ":h") | |
| endif | |
| execute "tcd ". dirname | |
| endfunction() | |
| autocmd TabNewEntered * call OnTabEnter(expand("<amatch>")) |
| function vim() { | |
| /usr/bin/vim $* | |
| cd $(cat /tmp/nvim-cwd) | |
| } |
| Update: found it: it's the OSX.pirrit virus, see here: | |
| http://www.cybereason.com/cybereason-labs-analysis-the-minds-behind-the-osx-pirrit/ | |
| Saw a bunch of those running (as root) in htop: | |
| $ ls /etc/*.sh | |
| /etc/Dicyemida.sh* | |
| /etc/Fulah.sh* | |
| /etc/Gothism.sh* | |
| /etc/audile.sh* |
| set "PATH=%PATH%;C:\Program Files\CMake\bin" | |
| set "PATH=%PATH%;C:\Ninja" | |
| "C:\Program Files (x86)\Microsoft Visual C++ Build Tools\vcbuildtools.bat" | |
| cd c:\Users\username | |
| rem Save in C:\Users\username\sourceme.bat and just type sourceme after running cmd.exe | |
| rem (sadly, the last 'cd' does not work) |
| version files insertions deletions | |
| --------- ------- ------------ ----------- | |
| v0.1.1 264 8875 7616 | |
| v0.1.2 294 13132 7499 | |
| v0.1.3 174 8012 4529 | |
| v0.1.4 180 11042 4869 | |
| v0.1.5 676 36182 19516 | |
| master 159 3862 2299 |
| class NetrcTestCase(unittest.TestCase): | |
| ... | |
| def test_no_home_in_env(self): | |
| # This one in tough. | |
| # We need this test to pass even if ~/.netrc does not exist. So we need a mock. | |
| # | |
| # * The mock itself needs a handle that will be returned when calling |
| # in ~/.profile | |
| case "$(tty)" in | |
| "/dev/tty1") exec startx;; | |
| "/dev/tty2") exec startx /usr/bin/bspwm;; | |
| "/dev/tty3") exec startx /usr/bin/kodi;; | |
| "/dev/tty4") exec startx /usr/games/steam -bigpicture;; | |
| esac | |
| # source: Arch Linux forums: https://bbs.archlinux.org/viewtopic.php?pid=1680406#p1680406 |
| """ Tiny wrapper for mccabe module. | |
| Iterate over all the python sources, and print results in | |
| an easily parseable format | |
| If you are already using pyflakes or prospector, you won't need this :) | |
| Dependencies: mmcabe, path.py | |
| """ |
| Version 14.00.24215.1 | |
| ExceptionCode = C0000005 | |
| ExceptionFlags = 00000000 | |
| ExceptionAddress = 00007FF7CD1A3157 (00007FF7CD180000) "C:\PROGRA~2\MICROS~1.0\VC\bin\AMD64_~2\link.exe" | |
| NumberParameters = 00000002 | |
| ExceptionInformation[ 0] = 0000000000000000 | |
| ExceptionInformation[ 1] = 00000002007F1600 | |
| CONTEXT: |