parse makefile depends generated by gcc
This commit is contained in:
1 parent
37337f80d5
commit
c7ab339753
3 files changed
+29
-3
No files matched your search
@@ -49,7 +49,7 @@ describe Rscons do
|
||||
end
|
||||
|
||||
it 'does not rebuild the program if no sources changed' do
|
||||
$stdout.should_receive(:puts).once.with('gcc -c -o simple.o simple.c')
|
||||
$stdout.should_receive(:puts).once.with("gcc -c -o simple.o -MMD -MF simple.mf simple.c")
|
||||
$stdout.should_receive(:puts).once.with('gcc -o simple simple.o')
|
||||
setup_testdir(['simple.c']) do
|
||||
env = Rscons::Environment.new
|
||||
|
||||
Reference in new issue
Block a user