remove makefile target name check when parsing dependencies - close #57

This commit is contained in:
josh committed 2018-11-02 14:24:02 -04:00
1 parent 7edcef2b30
commit b5a8b6f628
6 files changed
+37 -41

No files matched your search

+2 -2
View File
@@ -329,7 +329,7 @@ module Rscons
expect(File).to receive(:read).with('makefile').and_return(<<EOS)
module.o: source.cc
EOS
expect(Environment.parse_makefile_deps('makefile', 'module.o')).to eq ['source.cc']
expect(Environment.parse_makefile_deps('makefile')).to eq ['source.cc']
end
it 'handles dependencies split across many lines' do
@@ -338,7 +338,7 @@ module.o: module.c \\
module.h \\
other.h
EOS
expect(Environment.parse_makefile_deps('makefile', 'module.o')).to eq [
expect(Environment.parse_makefile_deps('makefile')).to eq [
'module.c', 'module.h', 'other.h']
end
end