Commit 7c6d25e4 authored by Greg Williams's avatar Greg Williams
Browse files

Merge branch 'release/v0.2.1'

parents bc970986 43981431
Loading
Loading
Loading
Loading
+17 −5
Original line number Diff line number Diff line
@@ -57,15 +57,27 @@
    int8:     INT8
    bool:     UINT8

#:tools:
# Ceedling defaults to using gcc for compiling, linking, etc.
# As [:tools] is blank, gcc will be used (so long as it's in your system path)
# See documentation to configure a given toolchain for use
:tools:
  :test_includes_preprocessor:
    :executable: gcc
    :arguments:
      - -E
      - -MM
      - -MG
      - -I"$": COLLECTION_PATHS_TEST_SUPPORT_SOURCE_INCLUDE_VENDOR
      - -I"$": COLLECTION_PATHS_TEST_TOOLCHAIN_INCLUDE
      - -D"$": COLLECTION_DEFINES_TEST_AND_VENDOR
      - -D"$": DEFINES_TEST_PREPROCESS
      - -DGNU_COMPILER
      - -w
      - -nostdinc
      - ${1}


:plugins:
  :load_paths:
    - vendor/ceedling/plugins
  :enabled:
    - stdout_pretty_tests_report
    - teamcity_tests_report
    - module_generator
...

src/integration-test/README.md

deleted100644 → 0
+0 −2
Original line number Diff line number Diff line
Kinetic C Client Integration Test Suite
=======================================
+7 −7
Original line number Diff line number Diff line
@@ -35,10 +35,10 @@ int main(int argc, char** argv)

    header.clusterversion = 12345678;
    header.has_clusterversion = TRUE;
    printf("> clusterversion: %08llX\n", header.clusterversion);
    printf("> clusterversion: %016llX\n", (unsigned long long)header.clusterversion);
    header.identity = -12345678;
    header.has_identity = TRUE;
    printf("> identity: %08llX\n", header.identity);
    printf("> identity: %016llX\n", (unsigned long long)header.identity);
    cmd.header = &header;
    proto.command = &cmd;

@@ -99,10 +99,10 @@ int main(int argc, char** argv)
    assert (pproto != NULL);
    assert (pproto->command->header->has_identity == TRUE);
    assert (pproto->command->header->identity == -12345678ul);
    printf("< identity: %08llX\n", header.identity);
    printf("< identity: %016llX\n", (unsigned long long)header.identity);
    assert (pproto->command->header->has_clusterversion == TRUE);
    assert (pproto->command->header->clusterversion == 12345678ul);
    printf("< clusterversion: %08llX\n", header.clusterversion);
    printf("< clusterversion: %016llX\n", (unsigned long long)header.clusterversion);

    // Unpack and verify the raw buffer results
    printf("\nValidating unpacked dynamically allocated buffer contents...\n");
@@ -110,10 +110,10 @@ int main(int argc, char** argv)
    assert (pproto != NULL);
    assert (pproto->command->header->has_identity == TRUE);
    assert (pproto->command->header->identity == -12345678ul);
    printf("< identity: %08llX\n", header.identity);
    printf("< identity: %016llX\n", (unsigned long long)header.identity);
    assert (pproto->command->header->has_clusterversion == TRUE);
    assert (pproto->command->header->clusterversion == 12345678ul);
    printf("< clusterversion: %08llX\n", header.clusterversion);
    printf("< clusterversion: %016llX\n", (unsigned long long)header.clusterversion);

    // Free dynamically allocated memory
    KineticProto_free_unpacked(pproto, NULL);

src/test/README.md

deleted100644 → 0
+0 −2
Original line number Diff line number Diff line
Kinetic C Client Unit Test Suite
================================
+0 −0

Empty file added.

Loading