* * Fix add_test in cmake files. This notation allows it to understand that the command portion is a target and to translate it to the proper executable. * Remove starting backslash if present from temporary filename. A starting backslash mean that it is safe to create it in the current working directory. * Implement a public TempFile class. * Change relevant tests to use TempFile class. Signed-off-by: Patrick Northon <northon_patrick3@yahoo.ca> * * Revert back changes for TempFile class. * Add comment on temporary file functions fix. Signed-off-by: Patrick Northon <northon_patrick3@yahoo.ca> * Add FIXME comments. Signed-off-by: Patrick Northon <northon_patrick3@yahoo.ca> * Add -C flag to ctest commands. Signed-off-by: Patrick Northon <northon_patrick3@yahoo.ca> * Add `-C Release` to ctest commands in `analysis_workflow.yml`. Signed-off-by: Patrick Northon <northon_patrick3@yahoo.ca> Co-authored-by: Patrick Hodoul <patrick.hodoul@autodesk.com> Co-authored-by: Rémi Achard <remiachard@gmail.com>
16 lines
462 B
C++
16 lines
462 B
C++
// SPDX-License-Identifier: BSD-3-Clause
|
|
// Copyright Contributors to the OpenColorIO Project.
|
|
|
|
|
|
#ifndef OPENCOLORIO_GPU_HELPERS_H
|
|
#define OPENCOLORIO_GPU_HELPERS_H
|
|
|
|
|
|
#include <string>
|
|
|
|
// FIXME: Duplicate function implemented in `src/OpenColorIO/Platform.h and cpp`.
|
|
// Implement a function or class for temporary file creation useable by all tests.
|
|
std::string createTempFile(const std::string& fileExt, const std::string& fileContent);
|
|
|
|
|
|
#endif |