Skip to content

Commit

Permalink
Make default test more robust and easy to extend
Browse files Browse the repository at this point in the history
  • Loading branch information
Alexander Konovalov authored and alex-konovalov committed Feb 23, 2019
1 parent 663e8c7 commit 177acd1
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 1 deletion.
2 changes: 1 addition & 1 deletion PackageInfo.g
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ Dependencies := rec(

AvailabilityTest := ReturnTrue,

TestFile := "tst/basic.tst",
TestFile := "tst/testinstall.g",

Keywords := [ "Jupyter", "User Interface" ],

Expand Down
15 changes: 15 additions & 0 deletions tst/testinstall.g
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
#
# JupyterKernel: Jupyter kernel using ZeroMQ
#
# This file runs package tests. It is also referenced in the package
# metadata in PackageInfo.g.
#
LoadPackage( "JupyterKernel" );

TestDirectory( DirectoriesPackageLibrary("JupyterKernel", "tst"),
rec(exitGAP := true,
exclude := [ "protocol.tst" ],
testOptions := rec(compareFunction := "uptowhitespace") ) );

# Should never get here
FORCE_QUIT_GAP(1);

0 comments on commit 177acd1

Please sign in to comment.