Skip to content

Commit

Permalink
Fix tests.
Browse files Browse the repository at this point in the history
  • Loading branch information
jendrikseipp committed Oct 14, 2023
1 parent 26274a8 commit 4a052de
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2 deletions.
6 changes: 6 additions & 0 deletions crossref-short.bib
Original file line number Diff line number Diff line change
Expand Up @@ -362,6 +362,12 @@ @Proceedings{cav2010
year = "2010"
}

@Proceedings{cig2008,
title = "Proc.\ CIG 2008",
booktitle = "Proc.\ CIG 2008",
year = "2008"
}

@Proceedings{cocomile2012,
title = "Proc.\ CoCoMile 2012",
booktitle = "Proc.\ CoCoMile 2012",
Expand Down
1 change: 0 additions & 1 deletion literatur.bib
Original file line number Diff line number Diff line change
Expand Up @@ -2784,7 +2784,6 @@ @Proceedings{chien-et-al-2000
@InProceedings{childs-et-al-cig2008,
author = "Benjamin E. Childs and James H. Brodeur and Levente Kocsis",
title = "Transpositions and Move Groups in {Monte Carlo} Tree Search",
booktitle = "2008 {IEEE} Symposium On Computational Intelligence and Games",
crossref = "cig2008",
pages = "389--395",
year = "2008"
Expand Down
3 changes: 2 additions & 1 deletion tests/run-tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ function test() {
# Check for bibtex warnings.
# Crossrefs without author/editor will show up as standalone entries at the beginning of the bibliography,
# but they occur too often to be worth fixing.
(bibtex -min-crossrefs=99 ${prefix} | grep "Warning--" | grep -v "Warning--to sort, need") && exit 1 || exit 0
(bibtex -min-crossrefs=99 ${prefix} | grep "Warning--" | grep -v "Warning--to sort, need") && return 1 || return 0
}

# Change into the directory of this script.
Expand All @@ -23,3 +23,4 @@ cd "$(dirname "${BASH_SOURCE[0]}")"
cd paper
test "paper"
test "paper-short"
echo "All tests passed."

0 comments on commit 4a052de

Please sign in to comment.