Skip to content

Commit

Permalink
Tag additional slow tests
Browse files Browse the repository at this point in the history
Empirically, these tests start but take a long time to finish on my
personal laptop.  Some of them wedge the entire laptop, requiring that I
cycle power to recover.  Granted, my laptop is a bit old and not the
most powerful.  I think it's reasonable to skip a few tests to make
development on this laptop feasible.  We still run the full test suite,
including "slow"-tagged tests, in our GitHub Actions workflows.
  • Loading branch information
liblit committed Aug 19, 2023
1 parent caffc53 commit 762b31e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@
import java.util.Spliterators;
import java.util.stream.Stream;
import java.util.stream.StreamSupport;
import org.junit.jupiter.api.Tag;
import org.junit.jupiter.api.Test;

/** Tests for Call Graph construction */
Expand All @@ -76,6 +77,7 @@ public static void main(String[] args) {
justThisTest(CallGraphTest.class);
}

@Tag("slow")
@Test
public void testJava_cup()
throws ClassHierarchyException, IllegalArgumentException, CancelException, IOException {
Expand All @@ -90,6 +92,7 @@ public void testJava_cup()
doCallGraphs(options, new AnalysisCacheImpl(), cha, useShortProfile());
}

@Tag("slow")
@Test
public void testBcelVerifier()
throws ClassHierarchyException, IllegalArgumentException, CancelException, IOException {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,11 @@
import com.ibm.wala.util.intset.MutableSparseIntSetFactory;
import com.ibm.wala.util.intset.SemiSparseMutableIntSetFactory;
import java.io.IOException;
import org.junit.jupiter.api.Tag;
import org.junit.jupiter.api.Test;

/** Run the call graph only test with paranoid debugging bit vectors */
@Tag("slow")
public class DebuggingBitsetCallGraphTest extends WalaTestCase {

public static void main(String[] args) {
Expand Down

0 comments on commit 762b31e

Please sign in to comment.