mirror of
https://github.com/libguestfs/libguestfs.git
synced 2026-03-21 22:53:37 +00:00
Create a new top-level directory called test-data, which will carry all the test data which is large and/or shared between multiple tests. There are actually several new subdirectories created: test-data/binaries: The pre-built binary and library files for random architectures that we use to test various architecture detection features (was part of tests/data). test-data/blank-disks: The blank disks which are used for disk format detection (was part of tests/data). test-data/files: Other miscellaneous test files from tests/data that are not included in the above. test-data/phony-guests: The phony guests (was tests/guests). test-data: The top-level directory builds the 'test.iso' image file that is used for testing the C API and in miscellaneous other tests.
13 lines
483 B
Plaintext
13 lines
483 B
Plaintext
The bin-* and lib-* files are used for testing the
|
|
guestfs_file_architecture API.
|
|
|
|
The bin-* files are generated from empty source files (ie.
|
|
"main(){}") on the respective architectures.
|
|
|
|
The lib-* files are generated from a (really) empty source file called
|
|
lib.c which is linked into a library using gcc -shared on the
|
|
respective architectures.
|
|
|
|
If you are concerned that these binary files "lack source" then you
|
|
can just remove them, but you may need to patch out various tests.
|