cd build

# CACHE GENERATION
cmake -G "$ENV:msvc" -DCMAKE_BUILD_TYPE="$ENV:configuration" `
                     -DCIO_BACKEND_FILESYSTEM=Off `
                     -DFLB_TESTS_INTERNAL=On `
                     -D FLB_WITHOUT_flb-rt-out_elasticsearch=On `
                     -D FLB_WITHOUT_flb-rt-out_td=On `
                     -D FLB_WITHOUT_flb-rt-out_forward=On `
                     -D FLB_WITHOUT_flb-rt-in_disk=On `
                     -D FLB_WITHOUT_flb-rt-in_proc=On `
                     -D FLB_WITHOUT_flb-it-pipe=On `
                     -D FLB_WITHOUT_flb-it-parser=On `
                     -D FLB_WITHOUT_flb-it-unit_sizes=On `
                     -D FLB_WITHOUT_flb-it-http_client=On `
                     -D FLB_WITHOUT_flb-it-network=On `
                     -D FLB_WITHOUT_flb-it-pack=On `
                     -D FLB_WITHOUT_flb-it-stream_processor=On `
                     ../

# COMPILE
cmake --build . --config "$ENV:configuration"

# RUNNING TESTS
ctest -C "$ENV:configuration" --build-run-dir $PWD --output-on-failure

cd build

# CACHE GENERATION
cmake -G "$ENV:msvc" -DCMAKE_BUILD_TYPE="$ENV:configuration" `
                     -DCIO_BACKEND_FILESYSTEM=Off `
                     -DFLB_TESTS_INTERNAL=On `
                     -D FLB_WITHOUT_flb-rt-out_elasticsearch=On `
                     -D FLB_WITHOUT_flb-rt-out_td=On `
                     -D FLB_WITHOUT_flb-rt-out_forward=On `
                     -D FLB_WITHOUT_flb-rt-in_disk=On `
                     -D FLB_WITHOUT_flb-rt-in_proc=On `
                     -D FLB_WITHOUT_flb-it-pipe=On `
                     -D FLB_WITHOUT_flb-it-parser=On `
                     -D FLB_WITHOUT_flb-it-unit_sizes=On `
                     -D FLB_WITHOUT_flb-it-http_client=On `
                     -D FLB_WITHOUT_flb-it-network=On `
                     -D FLB_WITHOUT_flb-it-pack=On `
                     ../

# COMPILE
cmake --build . --config "$ENV:configuration"

# RUNNING TESTS
ctest -C "$ENV:configuration" --build-run-dir $PWD --output-on-failure

Enable stream_processor testcase on AppVeyor
test: Enable stream_processor testcase on AppVeyor

Signed-off-by: Hiroshi Hatake <a476a6e5b5893650242fbf0b2961500a9bd9032e@clear-code.com>
