Skip to content

Comments

mroonga: tests: prevents error if sourcedir is readonly#1

Open
grooverdan wants to merge 1 commit intoKentoku:10.0from
grooverdan:k-10.0-mroonga-out-of-tree-source-imutable
Open

mroonga: tests: prevents error if sourcedir is readonly#1
grooverdan wants to merge 1 commit intoKentoku:10.0from
grooverdan:k-10.0-mroonga-out-of-tree-source-imutable

Conversation

@grooverdan
Copy link

An out-of-tree build where the the source is readonly results the
following cmake error. The source tree for out-of-tree builds
should be immutable.

As the version number isn't of particular importance remove the
dependence of the tests finding the exact same version.

CMake Error: Could not open file for write in copy operation /source/storage/mroonga/mysql-test/mroonga/storage/r/information_schema_plugins.result.tmp
CMake Error: : System Error: Read-only file system
CMake Error at storage/mroonga/CMakeLists.txt:437 (configure_file):
configure_file Problem configuring file

CMake Error: Could not open file for write in copy operation /source/storage/mroonga/mysql-test/mroonga/storage/r/variable_version.result.tmp
CMake Error: : System Error: Read-only file system
CMake Error at storage/mroonga/CMakeLists.txt:441 (configure_file):
configure_file Problem configuring file

Moved here from MariaDB#655 as requested.

I submit this under the MCA.

An out-of-tree build where the the source is readonly results the
following cmake error. The source tree for out-of-tree builds
should be immutable.

As the version number isn't of particular importance remove the
dependance of the tests finding the exact same version.

CMake Error: Could not open file for write in copy operation /source/storage/mroonga/mysql-test/mroonga/storage/r/information_schema_plugins.result.tmp
CMake Error: : System Error: Read-only file system
CMake Error at storage/mroonga/CMakeLists.txt:437 (configure_file):
  configure_file Problem configuring file

CMake Error: Could not open file for write in copy operation /source/storage/mroonga/mysql-test/mroonga/storage/r/variable_version.result.tmp
CMake Error: : System Error: Read-only file system
CMake Error at storage/mroonga/CMakeLists.txt:441 (configure_file):
  configure_file Problem configuring file

mroonga - remove version from test
@grooverdan
Copy link
Author

Acceptable?

@grooverdan
Copy link
Author

Hi, is this an acceptable change?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant