Commit 47875d99 authored by Greg Williams's avatar Greg Williams
Browse files

Fixed segfault in protobuf test.

Moved some things around for consistency in repo.
Updated to new Ceedling.
parent a2a953fd
Loading
Loading
Loading
Loading
+20 −1
Original line number Diff line number Diff line
PROJECT_CEEDLING_ROOT = "vendor/ceedling"
TEAMCITY_BUILD = defined?(TEAMCITY_PROJECT_NAME)

load "#{PROJECT_CEEDLING_ROOT}/lib/ceedling/rakefile.rb"

task :default => ['test:all', 'release']
def report(message='')
  puts message
  $stdout.flush
end

def report_banner(message)
  report "\n#{message}\n#{'='*message.length}"
end

desc "Analyze code w/CppCheck"
task :cppcheck do
  raise "CppCheck not found!" unless `cppcheck --version` =~ /cppcheck \d+.\d+/mi
  report_banner "Analyzing code w/CppCheck"
  sh "cppcheck ./src"
  report ''
end

task :default => %w|cppcheck test:all release|

desc "Run the kinetic C test utility"
task :run do
+2 −2
Original line number Diff line number Diff line
@@ -27,8 +27,7 @@
    - +:test/**
    - -:test/support
  :source:
    - src/main/**
    - src/vendor/**
    - src/**
    - include/**
  :support:
    - test/support
@@ -78,6 +77,7 @@
  :load_paths:
    - vendor/ceedling/plugins
  :enabled:
    - stdout_ide_tests_report
    - teamcity_tests_report
    - module_generator
...
+0 −0

File moved.

+0 −0

File moved.

src/main/README.md

deleted100644 → 0
+0 −2
Original line number Diff line number Diff line
Kinetic C Client Source Code
============================
Loading