]> git.lizzy.rs Git - rust.git/blob - tests/run-make-fulldeps/dep-info-spaces/Makefile
Move /src/test to /tests
[rust.git] / tests / run-make-fulldeps / dep-info-spaces / Makefile
1 include ../tools.mk
2
3 # ignore-windows
4 # ignore-freebsd
5 # FIXME: (windows: see `../dep-info/Makefile`)
6
7 all:
8         cp lib.rs $(TMPDIR)/
9         cp 'foo foo.rs' $(TMPDIR)/
10         cp bar.rs $(TMPDIR)/
11         $(RUSTC) --emit link,dep-info --crate-type=lib $(TMPDIR)/lib.rs
12         sleep 1
13         touch $(TMPDIR)/'foo foo.rs'
14         -rm -f $(TMPDIR)/done
15         $(MAKE) -drf Makefile.foo
16         rm $(TMPDIR)/done
17         pwd
18         $(MAKE) -drf Makefile.foo
19         rm $(TMPDIR)/done && exit 1 || exit 0