Azure-Kinect-Sensor-SDK/scripts
Steven Schulte 5065d3fd70 Make examples test cases (#426)
* "example" is now "sample" so examples can be tests

Renamed example to "sample" because the existing examples will become
tests.

* Starting work for adding example tests

* Should now work on Windows

* clangformat

* Abstracting cross-platform (WIP)

* fastpointcloud hacky but tests on linux

* fastpointcloud test works on windows

* less memory usage so it doesn't segfault anymore

* Made declaration static

* clangformat

* tried to fix up testing issues

* factored out a chunk of code

* Added SetUp so the testing dir is only made once

* Added calibration test

* Should work on Windows now

* Disable the logging for examples test

We want to be able to test the output of the examples without dealing with the logging

* loosened regex checker strictness

* removed strict assertion

* Added an enumerate test

* Transformation example better supports Linux

* Added a transformation feature test

* Add simple opencv compat test

* Added a basic test for the streaming example

This test enforces that at least one of 20 captures has both IR and color data

* Added a simple undistort test case

* Removed remnants of moved streaming

* Cleaned up code as suggested

* Backslashes for windows commands

* Factor out getting path to binary

* clangformat

* Factored out some ifdefs

* Fixed for Windows

* Cleanup and flush

* Renamed examples test to executables test

This definition better specifies what exactly is tested, and we can test other executables that aren't examples

* Modified the working directory for CTest (Linux)

* Revert "Modified the working directory for CTest (Linux)"

This reverts commit f43c4112dd.

* Fixed the binary paths but keep Windows backslash

* Attempt to fix python script to run properly

* Actually use, not just print, that change

* flush instead of endl because no need for newline

* Factored assertions out of functions

In Google Test, ASSERT_* clauses can cause the function to exit- however,
because we had nested functions, the function was continuing in a very
questionable state.

* Added explanatory comment for regex test function

* Re-named example test as example

* Pass parameters by pointers rather than by reference
2019-07-09 12:25:18 -07:00
..
99-k4a.rules Moves the K4A SDK to open source project 2019-01-26 14:04:57 -08:00
HmdKit.cs Moves the K4A SDK to open source project 2019-01-26 14:04:57 -08:00
Reset-Device.ps1 Updating and standardizing the copyright headers in all of the files. (#87) 2019-02-22 10:31:47 -08:00
RunTestList.py Make examples test cases (#426) 2019-07-09 12:25:18 -07:00
bootstrap-ubuntu.sh Added cmake to bootstrap-ubuntu.sh (#432) 2019-06-24 13:49:39 -07:00
verify-windows.ps1 Enables CI for VS2019 (#181) 2019-03-26 09:27:19 -07:00