Skip to content
Snippets Groups Projects
Commit 844cf1e1 authored by Matthew Pickering's avatar Matthew Pickering Committed by Marge Bot
Browse files

Normalise output of T10970 test

The output of this test changes each time the containers submodule
version updates. It's easier to apply the version normaliser so that
the test checks that there is a version number, but not which one it is.
parent 8532b8a9
No related branches found
No related tags found
No related merge requests found
{-# LANGUAGE CPP #-}
main = do
putStrLn VERSION_containers
putStrLn ("containers-" ++ VERSION_containers)
#if MIN_VERSION_base(3,0,0)
putStrLn "OK"
#endif
0.6.5.1
containers-0.6.5.1
OK
......@@ -231,7 +231,7 @@ test('T365',
test('T9360a', req_interp, run_command, ['{compiler} --interactive -e "" -ignore-dot-ghci'])
test('T9360b', req_interp, run_command, ['{compiler} -e "" --interactive -ignore-dot-ghci'])
test('T10970', normal, compile_and_run, [''])
test('T10970', [normalise_version('containers')], compile_and_run, [''])
test('T4931', normal, compile_and_run, [''])
test('T11182', normal, compile_and_run, [''])
test('T11381', normal, compile_fail, [''])
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment