Skip to content
This repository has been archived by the owner on Feb 29, 2020. It is now read-only.

Commit

Permalink
removed moved bwd
Browse files Browse the repository at this point in the history
  • Loading branch information
raggledodo committed Jan 4, 2019
1 parent 0b53765 commit a629927
Show file tree
Hide file tree
Showing 14 changed files with 17 additions and 1,819 deletions.
20 changes: 10 additions & 10 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
COVERAGE_INFO_FILE := coverage.info

BWD_TEST := //bwd:test

LLO_CTEST := //llo:ctest

LLO_PTEST := //llo:ptest

OPT_TEST := //opt:test

PBM_TEST := //pbm:test

TEST := bazel test
Expand All @@ -19,39 +19,39 @@ COVERAGE_PIPE := ./scripts/merge_cov.sh $(COVERAGE_INFO_FILE)
TMP_LOGFILE := /tmp/cortenn-test.log


coverage: cover_bwd cover_llo cover_pbm

cover_bwd:
$(COVER) $(BWD_TEST)
coverage: cover_opt cover_llo cover_pbm

cover_llo:
$(COVER) $(LLO_CTEST)

cover_opt:
$(COVER) $(OPT_TEST)

cover_pbm:
$(COVER) $(PBM_TEST)

# generated coverage files

lcov: coverage
rm -f $(TMP_LOGFILE)
cat bazel-testlogs/bwd/test/test.log >> $(TMP_LOGFILE)
cat bazel-testlogs/opt/test/test.log >> $(TMP_LOGFILE)
cat bazel-testlogs/llo/ctest/test.log >> $(TMP_LOGFILE)
cat bazel-testlogs/pbm/test/test.log >> $(TMP_LOGFILE)
cat $(TMP_LOGFILE) | $(COVERAGE_PIPE)
lcov --remove $(COVERAGE_INFO_FILE) $(COVERAGE_IGNORE) -o $(COVERAGE_INFO_FILE)
rm -f $(TMP_LOGFILE)
lcov --list $(COVERAGE_INFO_FILE)

lcov_bwd: cover_bwd
lcov_opt: cover_opt
rm -f $(TMP_LOGFILE)
cat bazel-testlogs/bwd/test/test.log | $(COVERAGE_PIPE)
cat bazel-testlogs/opt/test/test.log | $(COVERAGE_PIPE)
lcov --remove $(COVERAGE_INFO_FILE) $(COVERAGE_IGNORE) -o $(COVERAGE_INFO_FILE)
rm -f $(TMP_LOGFILE)
lcov --list $(COVERAGE_INFO_FILE)

lcov_llo: cover_llo
cat bazel-testlogs/llo/ctest/test.log | $(COVERAGE_PIPE)
lcov --remove $(COVERAGE_INFO_FILE) $(COVERAGE_IGNORE) 'bwd/*' -o $(COVERAGE_INFO_FILE)
lcov --remove $(COVERAGE_INFO_FILE) $(COVERAGE_IGNORE) 'opt/*' -o $(COVERAGE_INFO_FILE)
lcov --list $(COVERAGE_INFO_FILE)

lcov_pbm: cover_pbm
Expand Down
43 changes: 0 additions & 43 deletions bwd/BUILD.bazel

This file was deleted.

8 changes: 0 additions & 8 deletions bwd/README_BWD.md

This file was deleted.

88 changes: 0 additions & 88 deletions bwd/grader.hpp

This file was deleted.

110 changes: 0 additions & 110 deletions bwd/src/grader.cpp

This file was deleted.

8 changes: 0 additions & 8 deletions bwd/test/main.cpp

This file was deleted.

Loading

0 comments on commit a629927

Please sign in to comment.