Skip to content

Instantly share code, notes, and snippets.

@lacyrhoades
Last active December 29, 2015 14:09
Show Gist options
  • Save lacyrhoades/7682239 to your computer and use it in GitHub Desktop.
Save lacyrhoades/7682239 to your computer and use it in GitHub Desktop.
errors when ./dogFoofing
lrhoades:oclint-scripts(lacyrhoades-master)$ ./dogFooding
-- The C compiler identification is Clang 3.5.0
-- The CXX compiler identification is Clang 3.5.0
-- Check for working C compiler: /Users/lrhoades/development/oclint/build/llvm-install/bin/clang
-- Check for working C compiler: /Users/lrhoades/development/oclint/build/llvm-install/bin/clang -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: /Users/lrhoades/development/oclint/build/llvm-install/bin/clang++
-- Check for working CXX compiler: /Users/lrhoades/development/oclint/build/llvm-install/bin/clang++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Configuring done
-- Generating done
-- Build files have been written to: /Users/lrhoades/development/oclint/build/oclint-core-dogfooding
/bin/sh: /Users/lrhoades/development/oclint/build/oclint-release/bin/oclint-json-compilation-database: No such file or directory
Traceback (most recent call last):
File "./dogFooding", line 97, in <module>
dogfooding(module, args.enable_clang_static_analyzer)
File "./dogFooding", line 78, in dogfooding
display_result(module_name)
File "./dogFooding", line 64, in display_result
with open(result_path(module_name), 'r') as result_file:
IOError: [Errno 2] No such file or directory: '/Users/lrhoades/development/oclint/build/oclint-core-dogfooding/dogfooding_results.txt'
lrhoades:oclint-scripts(lacyrhoades-master)$ ./dogFooding cocoa
usage: dogFooding [-h] [-enable-clang-static-analyzer] [-show]
[{all,core,metrics,rules,reporters,driver}]
dogFooding: error: argument module_name: invalid choice: 'cocoa' (choose from 'all', 'core', 'metrics', 'rules', 'reporters', 'driver')
lrhoades:oclint-scripts(lacyrhoades-master)$ ./dogFooding rules
-- The C compiler identification is Clang 3.5.0
-- The CXX compiler identification is Clang 3.5.0
-- Check for working C compiler: /Users/lrhoades/development/oclint/build/llvm-install/bin/clang
-- Check for working C compiler: /Users/lrhoades/development/oclint/build/llvm-install/bin/clang -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: /Users/lrhoades/development/oclint/build/llvm-install/bin/clang++
-- Check for working CXX compiler: /Users/lrhoades/development/oclint/build/llvm-install/bin/clang++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Configuring done
-- Generating done
-- Build files have been written to: /Users/lrhoades/development/oclint/build/oclint-rules-dogfooding
/bin/sh: /Users/lrhoades/development/oclint/build/oclint-release/bin/oclint-json-compilation-database: No such file or directory
Traceback (most recent call last):
File "./dogFooding", line 97, in <module>
dogfooding(module, args.enable_clang_static_analyzer)
File "./dogFooding", line 78, in dogfooding
display_result(module_name)
File "./dogFooding", line 64, in display_result
with open(result_path(module_name), 'r') as result_file:
IOError: [Errno 2] No such file or directory: '/Users/lrhoades/development/oclint/build/oclint-rules-dogfooding/dogfooding_results.txt'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment