Comment test section

This commit is contained in:
johltn
2020-10-31 19:15:24 +01:00
parent 54d5d4cc63
commit 3575aff235
2 changed files with 23 additions and 23 deletions
+18 -18
View File
@@ -52,25 +52,25 @@ script:
..
- sudo make -j2 install
- cd ../../test
- /usr/bin/python2.7 tests.py
# - cd ../../test
# - /usr/bin/python2.7 tests.py
- cd input
# - cd input
- /usr/local/bin/IfcConvert -yv acad2010_walls.ifc acad2010_walls.glb
# - gltf_validator acad2010_walls.glb
# - /usr/local/bin/IfcConvert -yv acad2010_walls.ifc acad2010_walls.glb
# # - gltf_validator acad2010_walls.glb
- /usr/bin/python2.7 -c "from __future__ import print_function; from io import open; import ifcopenshell; f = ifcopenshell.open('encoding.ifc'); assert list(map(ord, f[1][0])) == [39, 97, 39, 32, 49, 109, 179, 32, 8804, 32, 53, 109, 179, 32, 8805, 32, 49, 48, 109, 179]"
# - /usr/bin/python2.7 -c "from __future__ import print_function; from io import open; import ifcopenshell; f = ifcopenshell.open('encoding.ifc'); assert list(map(ord, f[1][0])) == [39, 97, 39, 32, 49, 109, 179, 32, 8804, 32, 53, 109, 179, 32, 8805, 32, 49, 48, 109, 179]"
- |
(for i in *.ifc; do \
echo $i | tee -a log; \
timeout 1m /usr/local/bin/IfcConvert -yv "$i" "$i.dae" --validate >> log 2>&1; \
echo $i $? >> statuses; \
done) || true
- echo Failed
- grep -v 0$ statuses
- grep -v 0$ statuses | wc -l
- echo Succeeded
- grep 0$ statuses
- grep 0$ statuses | wc -l
# - |
# (for i in *.ifc; do \
# echo $i | tee -a log; \
# timeout 1m /usr/local/bin/IfcConvert -yv "$i" "$i.dae" --validate >> log 2>&1; \
# echo $i $? >> statuses; \
# done) || true
# - echo Failed
# - grep -v 0$ statuses
# - grep -v 0$ statuses | wc -l
# - echo Succeeded
# - grep 0$ statuses
# - grep 0$ statuses | wc -l
+5 -5
View File
@@ -29,11 +29,11 @@ add_custom_target(Sphinx ALL
WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/output
COMMENT "Generating documentation with Sphinx")
add_custom_target(ifcopenshell_python_docs ALL
COMMAND make html
WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/../src//ifcblenderexport/docs
OUTPUT ${CMAKE_CURRENT_SOURCE_DIR}/..//src/ifcblenderexport/docs
COMMENT "Generating documentation with Sphinx")
# add_custom_target(ifcopenshell_python_docs ALL
# COMMAND make html
# WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/../src//ifcblenderexport/docs
# OUTPUT ${CMAKE_CURRENT_SOURCE_DIR}/..//src/ifcblenderexport/docs
# COMMENT "Generating documentation with Sphinx")
else (DOXYGEN_FOUND)
message("Doxygen need to be installed to generate the doxygen documentation")