Skip to content

Files and directories for NeoMutt's build test

License

Notifications You must be signed in to change notification settings

neomutt/neomutt-test-files

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Test Files

This repo contains test files for the main NeoMutt source.

The NeoMutt source code comes with a set of unit tests.

They cover the Address, Core, Email and Mutt libraries.

These files are released under the GPL v2+ (GNU General Public License). See LICENSE.md.

See also: Test code coverage

Setup

git clone https://github.com/neomutt/neomutt
git clone https://github.com/neomutt/neomutt-test-files

# NEOMUTT_TEST_DIR must be an absolute path or the tests will fail
export NEOMUTT_TEST_DIR="$PWD/neomutt-test-files"

(cd neomutt-test-files; ./setup.sh)

Build

Next, build NeoMutt as normal:

cd neomutt
./configure [YOUR-OPTIONS]
make

Note: The `--testing` configure option is no longer needed.

Testing

To run the tests use either of:

  • make test
  • test/neomutt-test

By calling the test program directly, you can run individual tests.

test/neomutt-test -l                     # List the test names
test/neomutt-test test_mutt_str_strncmp  # Run a particular test
test/neomutt-test mutt_str               # Run all tests matching this string
test/neomutt-test -v test_url_free       # Run verbosely

About

Files and directories for NeoMutt's build test

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •  

Languages