Skip to main content

test_files

Function test_files 

Source
pub(crate) fn test_files(
    cache_dir: CacheDir,
    file_type: TestFileFormat,
    repositories: Option<Vec<PackageRepositories>>,
) -> Result<(), Error>
Expand description

Runs tests for a specific type of testing file format handling binaries for official ArchLinux packages, source repositories and databases.

This function relegates to functions that:

  • Download packages.
  • Test file parsers on all files.
  • Clean up downloaded files.