diff --git a/build_tests/header/build.rb b/build_tests/header/build.rb index 2314003..6385445 100644 --- a/build_tests/header/build.rb +++ b/build_tests/header/build.rb @@ -1,3 +1,3 @@ -Rscons::Environment.new do |env| +Rscons::Environment.new(echo: :short) do |env| env.Program('header', Dir['*.c']) end diff --git a/spec/build_tests_spec.rb b/spec/build_tests_spec.rb index f403d86..1fab96a 100644 --- a/spec/build_tests_spec.rb +++ b/spec/build_tests_spec.rb @@ -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 == <