Skip to content

Commit

Permalink
Removed --skip-E2E-tests from platforms that call linux/build.sh and …
Browse files Browse the repository at this point in the history
…doc files.
  • Loading branch information
v-safa committed May 18, 2016
1 parent d0bd78c commit 8c26a0a
Show file tree
Hide file tree
Showing 7 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion build/inteledison_c.sh
Expand Up @@ -112,5 +112,5 @@ sed -i 's/\[device connection string\]/'$IOTHUB_DEVICE_CONN_STR'/g' c/iothub_cli
# -----------------------------------------------------------------------------
echo ---------- Building the SDK by executing build.sh script ----------
cd $build_root/c/build_all/linux
./build.sh --toolchain-file toolchain-inteledison.cmake --skip-e2e-tests --skip-unittests --no-mqtt -cl --sysroot=$INTELEDISON_ROOT
./build.sh --toolchain-file toolchain-inteledison.cmake --skip-unittests --no-mqtt -cl --sysroot=$INTELEDISON_ROOT
[ $? -eq 0 ] || exit $?
2 changes: 1 addition & 1 deletion build/raspberrypi_c.sh
Expand Up @@ -86,5 +86,5 @@ sed -i 's/\[device connection string\]/'$IOTHUB_DEVICE_CONN_STR'/g' c/iothub_cli
# -----------------------------------------------------------------------------
echo ---------- Building the SDK by executing build.sh script ----------
cd $build_root/c/build_all/linux
./build.sh --toolchain-file toolchain-rpi.cmake --skip-e2e-tests --skip-unittests --no-amqp --no-mqtt -cl -D__STDC_NO_ATOMICS__ -cl --sysroot=$RPI_ROOT
./build.sh --toolchain-file toolchain-rpi.cmake --skip-unittests --no-amqp --no-mqtt -cl -D__STDC_NO_ATOMICS__ -cl --sysroot=$RPI_ROOT
[ $? -eq 0 ] || exit $?
6 changes: 3 additions & 3 deletions c/build_all/linux/build.sh
Expand Up @@ -7,7 +7,7 @@ set -e
script_dir=$(cd "$(dirname "$0")" && pwd)
build_root=$(cd "${script_dir}/../.." && pwd)
log_dir=$build_root
run_e2e_tests=ON
run_e2e_tests=OFF
run_longhaul_tests=OFF
build_amqp=ON
build_http=ON
Expand All @@ -24,7 +24,7 @@ usage ()
echo "options"
echo " -cl, --compileoption <value> specify a compile option to be passed to gcc"
echo " Example: -cl -O1 -cl ..."
echo " --skip-e2e-tests skip the running of end-to-end tests (e2e tests are run by default)"
echo " --run-e2e-tests run the end-to-end tests (e2e tests are skipped by default)"
echo " --skip-unittests skip the running of unit tests (unit tests are run by default)"
echo " --run-longhaul-tests run long haul tests (long haul tests are not run by default)"
echo ""
Expand Down Expand Up @@ -70,7 +70,7 @@ process_args ()
else
case "$arg" in
"-cl" | "--compileoption" ) save_next_arg=1;;
"--skip-e2e-tests" ) run_e2e_tests=OFF;;
"--run-e2e-tests" ) run_e2e_tests=ON;;
"--skip-unittests" ) skip_unittests=ON;;
"--run-longhaul-tests" ) run_longhaul_tests=ON;;
"--no-amqp" ) build_amqp=OFF;;
Expand Down
2 changes: 1 addition & 1 deletion c/doc/SDK_cross_compile_example.md
Expand Up @@ -92,7 +92,7 @@ and save the toolchain file. Your cross compilation environment is now complete.
The final step in the process is to run the actual build. For this you will need to be in the Linux build directory as shown above. Enter the following commands
```
cd ~/Source/azure-iot-sdks/c/build_all/linux
./build.sh --toolchain-file toolchain-rpi.cmake --skip-e2e-tests \
./build.sh --toolchain-file toolchain-rpi.cmake \
--skip-unittests --no-amqp --no-mqtt -cl -D__STDC_NO_ATOMICS__ \
-cl --sysroot=$RPI_ROOT
```
Expand Down
2 changes: 1 addition & 1 deletion c/doc/devbox_setup.md
Expand Up @@ -146,7 +146,7 @@ You can build the Windows samples to verify that your environment is set up corr
3. Run the following command:

```
build.cmd --skip-e2e-tests
build.cmd
```

This script uses cmake to make a folder called "cmake_ce8" in your home directory and generates in that folder a Visual Studio solution called azure_iot_sdks.sln. The script will then proceed to build the solution and run tests.
Expand Down
2 changes: 1 addition & 1 deletion javawrapper/build_all/linux/build.sh
Expand Up @@ -7,7 +7,7 @@ cd $build_root

# instruct C builder to include javawrapper library and to skip tests

./c/build_all/linux/build.sh --build-javawrapper --skip-unittests --skip-e2e-tests #-x
./c/build_all/linux/build.sh --build-javawrapper --skip-unittests #-x
[ $? -eq 0 ] || exit $?

echo compile javawrapper and samples
Expand Down
2 changes: 1 addition & 1 deletion python/build_all/linux/build.sh
Expand Up @@ -30,7 +30,7 @@ process_args $*

# instruct C builder to include python library and to skip tests

./c/build_all/linux/build.sh --build-python $PYTHON_VERSION --skip-unittests --skip-e2e-tests $*
./c/build_all/linux/build.sh --build-python $PYTHON_VERSION --skip-unittests $*
[ $? -eq 0 ] || exit $?
cd $build_root

Expand Down

0 comments on commit 8c26a0a

Please sign in to comment.