test :short echo mode

This commit is contained in:
josh committed 2013-07-07 19:54:05 -04:00
1 parent 03f8f56858
commit 2f907ab3eb
2 files changed
+9 -1

No files matched your search

+8
View File
@@ -52,6 +52,14 @@ gcc -o simple simple.o
EOF
end
it 'prints short representations of the commands being executed' do
test_dir('header')
File.read('build.out').should == <<EOF
CC header.o
LD header
EOF
end
it 'builds a C program with one source file and one header file' do
test_dir('header')
File.exists?('header.o').should be_true